test_class.declarator: ERROR_MESSAGE = "ExpectedErrorMessage"
test_class.modifier: private final
test_class.original_string: private final String ERROR_MESSAGE = "ExpectedErrorMessage";
test_class.type: String
test_class.var_name: ERROR_MESSAGE
test_class.declarator: CAUSE_MESSAGE = "ExpectedCauseMessage"
test_class.modifier: private final
test_class.original_string: private final String CAUSE_MESSAGE = "ExpectedCauseMessage";
test_class.type: String
test_class.var_name: CAUSE_MESSAGE
test_class.declarator: NO_MESSAGE_CAUSE = new IOException()
test_class.modifier: private final
test_class.original_string: private final IOException NO_MESSAGE_CAUSE = new IOException();
test_class.type: IOException
test_class.var_name: NO_MESSAGE_CAUSE
test_class.declarator: EMPTY_MESSAGE_CAUSE = new IOException("")
test_class.modifier: private final
test_class.original_string: private final IOException EMPTY_MESSAGE_CAUSE = new IOException("");
test_class.type: IOException
test_class.var_name: EMPTY_MESSAGE_CAUSE
test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/util/JMSExceptionSupportTest.java
test_class.identifier: JMSExceptionSupportTest
test_case.body: @Test
      public void testCreateMessageEOFExceptionDoesNotFillLinkedExceptionWhenGivenNonExceptionThrowable() {
          JMSException result = JMSExceptionSupport.createMessageEOFException(new AssertionError(CAUSE_MESSAGE));
          assertNull(result.getLinkedException());
      }
test_case.class_method_signature: JMSExceptionSupportTest.testCreateMessageEOFExceptionDoesNotFillLinkedExceptionWhenGivenNonExceptionThrowable()
test_case.full_signature: @Test public void testCreateMessageEOFExceptionDoesNotFillLinkedExceptionWhenGivenNonExceptionThrowable()
test_case.identifier: testCreateMessageEOFExceptionDoesNotFillLinkedExceptionWhenGivenNonExceptionThrowable
test_case.invocations: createMessageEOFException assertNull getLinkedException
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateMessageEOFExceptionDoesNotFillLinkedExceptionWhenGivenNonExceptionThrowable()
focal_class.file: pooled-jms/src/main/java/org/messaginghub/pooled/jms/util/JMSExceptionSupport.java
focal_class.identifier: JMSExceptionSupport
focal_class.class_method_signature: JMSExceptionSupport.create(String message, Throwable cause)
focal_class.full_signature: public static JMSException create(String message, Throwable cause)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (String message, Throwable cause)
focal_class.return: JMSException
focal_class.signature: JMSException create(String message, Throwable cause)
focal_class.class_method_signature: JMSExceptionSupport.create(Throwable cause)
focal_class.full_signature: public static JMSException create(Throwable cause)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (Throwable cause)
focal_class.return: JMSException
focal_class.signature: JMSException create(Throwable cause)
focal_class.class_method_signature: JMSExceptionSupport.createMessageEOFException(Throwable cause)
focal_class.full_signature: public static MessageEOFException createMessageEOFException(Throwable cause)
focal_class.identifier: createMessageEOFException
focal_class.modifiers: public static
focal_class.parameters: (Throwable cause)
focal_class.return: MessageEOFException
focal_class.signature: MessageEOFException createMessageEOFException(Throwable cause)
focal_class.class_method_signature: JMSExceptionSupport.createMessageFormatException(Throwable cause)
focal_class.full_signature: public static MessageFormatException createMessageFormatException(Throwable cause)
focal_class.identifier: createMessageFormatException
focal_class.modifiers: public static
focal_class.parameters: (Throwable cause)
focal_class.return: MessageFormatException
focal_class.signature: MessageFormatException createMessageFormatException(Throwable cause)
focal_class.class_method_signature: JMSExceptionSupport.createRuntimeException(Exception exception)
focal_class.full_signature: public static JMSRuntimeException createRuntimeException(Exception exception)
focal_class.identifier: createRuntimeException
focal_class.modifiers: public static
focal_class.parameters: (Exception exception)
focal_class.return: JMSRuntimeException
focal_class.signature: JMSRuntimeException createRuntimeException(Exception exception)
focal_method.body: public static MessageEOFException createMessageEOFException(Throwable cause) {
          String message = cause.getMessage();
          if (message == null || message.length() == 0) {
              message = cause.toString();
          }
  
          MessageEOFException exception = new MessageEOFException(message);
          if (cause instanceof Exception) {
              exception.setLinkedException((Exception) cause);
          }
          exception.initCause(cause);
          return exception;
      }
focal_method.class_method_signature: JMSExceptionSupport.createMessageEOFException(Throwable cause)
focal_method.full_signature: public static MessageEOFException createMessageEOFException(Throwable cause)
focal_method.identifier: createMessageEOFException
focal_method.invocations: getMessage length toString setLinkedException initCause
focal_method.modifiers: public static
focal_method.parameters: (Throwable cause)
focal_method.return: MessageEOFException
focal_method.signature: MessageEOFException createMessageEOFException(Throwable cause)