Enum Class JmsError

java.lang.Object
java.lang.Enum<JmsError>
org.mule.jms.commons.api.exception.JmsError
All Implemented Interfaces:
Serializable, Comparable<JmsError>, Constable, org.mule.runtime.extension.api.error.ErrorTypeDefinition<JmsError>

public enum JmsError extends Enum<JmsError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<JmsError>
Errors for the JMS extension
Since:
1.0
  • Enum Constant Details

    • PUBLISHING

      public static final JmsError PUBLISHING
    • ILLEGAL_BODY

      public static final JmsError ILLEGAL_BODY
    • CONSUMING

      public static final JmsError CONSUMING
    • ACK

      public static final JmsError ACK
    • TIMEOUT

      public static final JmsError TIMEOUT
    • SESSION_RECOVER

      public static final JmsError SESSION_RECOVER
    • DESTINATION_NOT_FOUND

      public static final JmsError DESTINATION_NOT_FOUND
    • MISSING_LIBRARIES

      public static final JmsError MISSING_LIBRARIES
    • SECURITY

      public static final JmsError SECURITY
  • Method Details

    • values

      public static JmsError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JmsError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getParent

      public Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
      Specified by:
      getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<JmsError>