Class JmsPublishException

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.JmsPublishException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JmsIllegalBodyException

public class JmsPublishException extends JmsExtensionException
JmsExtensionException to be thrown in the cases where an error occurs when trying to publish a message
Since:
1.0
See Also:
  • Constructor Details

    • JmsPublishException

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

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

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

      protected JmsPublishException(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