public enum ActiveMQExceptionType extends Enum<ActiveMQExceptionType>
ActiveMQException
types and their codes.Modifier and Type | Method and Description |
---|---|
static ActiveMQException |
createException(int code,
String msg) |
ActiveMQException |
createException(String msg) |
int |
getCode() |
static ActiveMQExceptionType |
getType(int code) |
static ActiveMQExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveMQExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveMQExceptionType INTERNAL_ERROR
public static final ActiveMQExceptionType UNSUPPORTED_PACKET
public static final ActiveMQExceptionType NOT_CONNECTED
public static final ActiveMQExceptionType CONNECTION_TIMEDOUT
public static final ActiveMQExceptionType DISCONNECTED
public static final ActiveMQExceptionType UNBLOCKED
public static final ActiveMQExceptionType IO_ERROR
public static final ActiveMQExceptionType QUEUE_DOES_NOT_EXIST
public static final ActiveMQExceptionType QUEUE_EXISTS
public static final ActiveMQExceptionType OBJECT_CLOSED
public static final ActiveMQExceptionType INVALID_FILTER_EXPRESSION
public static final ActiveMQExceptionType ILLEGAL_STATE
public static final ActiveMQExceptionType SECURITY_EXCEPTION
public static final ActiveMQExceptionType ADDRESS_DOES_NOT_EXIST
public static final ActiveMQExceptionType ADDRESS_EXISTS
public static final ActiveMQExceptionType INCOMPATIBLE_CLIENT_SERVER_VERSIONS
public static final ActiveMQExceptionType LARGE_MESSAGE_ERROR_BODY
public static final ActiveMQExceptionType TRANSACTION_ROLLED_BACK
public static final ActiveMQExceptionType SESSION_CREATION_REJECTED
public static final ActiveMQExceptionType DUPLICATE_ID_REJECTED
public static final ActiveMQExceptionType DUPLICATE_METADATA
public static final ActiveMQExceptionType TRANSACTION_OUTCOME_UNKNOWN
public static final ActiveMQExceptionType ALREADY_REPLICATING
public static final ActiveMQExceptionType INTERCEPTOR_REJECTED_PACKET
public static final ActiveMQExceptionType INVALID_TRANSIENT_QUEUE_USE
public static final ActiveMQExceptionType REMOTE_DISCONNECT
public static final ActiveMQExceptionType TRANSACTION_TIMEOUT
public static final ActiveMQExceptionType GENERIC_EXCEPTION
public static final ActiveMQExceptionType NATIVE_ERROR_INTERNAL
public static final ActiveMQExceptionType NATIVE_ERROR_INVALID_BUFFER
public static final ActiveMQExceptionType NATIVE_ERROR_NOT_ALIGNED
public static final ActiveMQExceptionType NATIVE_ERROR_CANT_INITIALIZE_AIO
public static final ActiveMQExceptionType NATIVE_ERROR_CANT_RELEASE_AIO
public static final ActiveMQExceptionType NATIVE_ERROR_CANT_OPEN_CLOSE_FILE
public static final ActiveMQExceptionType NATIVE_ERROR_CANT_ALLOCATE_QUEUE
public static final ActiveMQExceptionType NATIVE_ERROR_PREALLOCATE_FILE
public static final ActiveMQExceptionType NATIVE_ERROR_ALLOCATE_MEMORY
public static final ActiveMQExceptionType ADDRESS_FULL
public static final ActiveMQExceptionType LARGE_MESSAGE_INTERRUPTED
public static final ActiveMQExceptionType CLUSTER_SECURITY_EXCEPTION
public static final ActiveMQExceptionType NOT_IMPLEMTNED_EXCEPTION
public static final ActiveMQExceptionType MAX_CONSUMER_LIMIT_EXCEEDED
public static final ActiveMQExceptionType UNEXPECTED_ROUTING_TYPE_FOR_ADDRESS
public static final ActiveMQExceptionType INVALID_QUEUE_CONFIGURATION
public static final ActiveMQExceptionType DELETE_ADDRESS_ERROR
public static final ActiveMQExceptionType NULL_REF
public static final ActiveMQExceptionType SHUTDOWN_ERROR
public static ActiveMQExceptionType[] values()
for (ActiveMQExceptionType c : ActiveMQExceptionType.values()) System.out.println(c);
public static ActiveMQExceptionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public ActiveMQException createException(String msg)
public static ActiveMQException createException(int code, String msg)
public static ActiveMQExceptionType getType(int code)
Copyright © 2018 JBoss by Red Hat. All rights reserved.