Class JmsConsumeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mule.runtime.api.exception.MuleRuntimeException
org.mule.runtime.extension.api.exception.ModuleException
org.mule.jms.commons.api.exception.JmsExtensionException
org.mule.jms.commons.api.exception.JmsConsumeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JmsAckException, JmsSessionRecoverException, JmsTimeoutException

public class JmsConsumeException extends JmsExtensionException
ModuleException to be thrown in the cases in which the received content to be written is invalid.
Since:
1.0
See Also:
  • Constructor Details

    • JmsConsumeException

      public JmsConsumeException(String message)
      Creates a new instance with the specified detail message
      Parameters:
      message - the detail message
    • JmsConsumeException

      public JmsConsumeException(String message, Exception exception)
      Creates a new instance with the specified detail message
      Parameters:
      message - the detail message
      exception - cause of this exception
    • JmsConsumeException

      protected JmsConsumeException(String message, JmsError errorType)
      Creates a new instance with the specified detail message
      Parameters:
      message - the detail message
      errorType - JMS error
    • JmsConsumeException

      protected JmsConsumeException(String message, JmsError errorType, Exception exception)
      Creates a new instance with the specified detail message
      Parameters:
      message - the detail message
      errorType - JMS error
      exception - cause of this exception