public enum HornetQExceptionType extends Enum<HornetQExceptionType>
HornetQException
types and their codes.Modifier and Type | Method and Description |
---|---|
static HornetQException |
createException(int code,
String msg) |
HornetQException |
createException(String msg) |
int |
getCode() |
static HornetQExceptionType |
getType(int code) |
static HornetQExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HornetQExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HornetQExceptionType INTERNAL_ERROR
public static final HornetQExceptionType UNSUPPORTED_PACKET
public static final HornetQExceptionType NOT_CONNECTED
public static final HornetQExceptionType CONNECTION_TIMEDOUT
public static final HornetQExceptionType DISCONNECTED
public static final HornetQExceptionType UNBLOCKED
public static final HornetQExceptionType IO_ERROR
public static final HornetQExceptionType QUEUE_DOES_NOT_EXIST
public static final HornetQExceptionType QUEUE_EXISTS
public static final HornetQExceptionType OBJECT_CLOSED
public static final HornetQExceptionType INVALID_FILTER_EXPRESSION
public static final HornetQExceptionType ILLEGAL_STATE
public static final HornetQExceptionType SECURITY_EXCEPTION
public static final HornetQExceptionType ADDRESS_EXISTS
public static final HornetQExceptionType INCOMPATIBLE_CLIENT_SERVER_VERSIONS
public static final HornetQExceptionType LARGE_MESSAGE_ERROR_BODY
public static final HornetQExceptionType TRANSACTION_ROLLED_BACK
public static final HornetQExceptionType SESSION_CREATION_REJECTED
public static final HornetQExceptionType DUPLICATE_ID_REJECTED
public static final HornetQExceptionType DUPLICATE_METADATA
public static final HornetQExceptionType TRANSACTION_OUTCOME_UNKNOWN
public static final HornetQExceptionType ALREADY_REPLICATING
public static final HornetQExceptionType INTERCEPTOR_REJECTED_PACKET
public static final HornetQExceptionType GENERIC_EXCEPTION
public static final HornetQExceptionType NATIVE_ERROR_INTERNAL
public static final HornetQExceptionType NATIVE_ERROR_INVALID_BUFFER
public static final HornetQExceptionType NATIVE_ERROR_NOT_ALIGNED
public static final HornetQExceptionType NATIVE_ERROR_CANT_INITIALIZE_AIO
public static final HornetQExceptionType NATIVE_ERROR_CANT_RELEASE_AIO
public static final HornetQExceptionType NATIVE_ERROR_CANT_OPEN_CLOSE_FILE
public static final HornetQExceptionType NATIVE_ERROR_CANT_ALLOCATE_QUEUE
public static final HornetQExceptionType NATIVE_ERROR_PREALLOCATE_FILE
public static final HornetQExceptionType NATIVE_ERROR_ALLOCATE_MEMORY
public static final HornetQExceptionType ADDRESS_FULL
public static final HornetQExceptionType LARGE_MESSAGE_INTERRUPTED
public static final HornetQExceptionType CLUSTER_SECURITY_EXCEPTION
public static HornetQExceptionType[] values()
for (HornetQExceptionType c : HornetQExceptionType.values()) System.out.println(c);
public static HornetQExceptionType 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 HornetQException createException(String msg)
public static HornetQException createException(int code, String msg)
public static HornetQExceptionType getType(int code)
Copyright © 2018 JBoss by Red Hat. All rights reserved.