org.hornetq.core.exception
Class HornetQException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.hornetq.core.exception.HornetQException
All Implemented Interfaces:
java.io.Serializable

public class HornetQException
extends java.lang.Exception

A HornetQException

Author:
Tim Fox
See Also:
Serialized Form

Field Summary
static int ADDRESS_DOES_NOT_EXIST
           
static int ADDRESS_EXISTS
           
static int CONNECTION_TIMEDOUT
           
static int DISCONNECTED
           
static int ILLEGAL_STATE
           
static int INCOMPATIBLE_CLIENT_SERVER_VERSIONS
           
static int INTERNAL_ERROR
           
static int INTERRUPTED
           
static int INVALID_FILTER_EXPRESSION
           
static int LARGE_MESSAGE_ERROR_BODY
           
static int NATIVE_ERROR_AIO_FULL
           
static int NATIVE_ERROR_ALLOCATE_MEMORY
           
static int NATIVE_ERROR_CANT_ALLOCATE_QUEUE
           
static int NATIVE_ERROR_CANT_INITIALIZE_AIO
           
static int NATIVE_ERROR_CANT_OPEN_CLOSE_FILE
           
static int NATIVE_ERROR_CANT_RELEASE_AIO
           
static int NATIVE_ERROR_INTERNAL
           
static int NATIVE_ERROR_INVALID_BUFFER
           
static int NATIVE_ERROR_IO
           
static int NATIVE_ERROR_NOT_ALIGNED
           
static int NATIVE_ERROR_PREALLOCATE_FILE
           
static int NOT_CONNECTED
           
static int OBJECT_CLOSED
           
static int QUEUE_DOES_NOT_EXIST
           
static int QUEUE_EXISTS
           
static int SECURITY_EXCEPTION
           
static int SESSION_EXISTS
           
static int UNSUPPORTED_PACKET
           
 
Constructor Summary
HornetQException()
           
HornetQException(int code)
           
HornetQException(int code, java.lang.String msg)
           
HornetQException(int code, java.lang.String msg, java.lang.Throwable cause)
           
 
Method Summary
 int getCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INTERNAL_ERROR

public static final int INTERNAL_ERROR
See Also:
Constant Field Values

UNSUPPORTED_PACKET

public static final int UNSUPPORTED_PACKET
See Also:
Constant Field Values

NOT_CONNECTED

public static final int NOT_CONNECTED
See Also:
Constant Field Values

CONNECTION_TIMEDOUT

public static final int CONNECTION_TIMEDOUT
See Also:
Constant Field Values

INTERRUPTED

public static final int INTERRUPTED
See Also:
Constant Field Values

DISCONNECTED

public static final int DISCONNECTED
See Also:
Constant Field Values

QUEUE_DOES_NOT_EXIST

public static final int QUEUE_DOES_NOT_EXIST
See Also:
Constant Field Values

QUEUE_EXISTS

public static final int QUEUE_EXISTS
See Also:
Constant Field Values

OBJECT_CLOSED

public static final int OBJECT_CLOSED
See Also:
Constant Field Values

INVALID_FILTER_EXPRESSION

public static final int INVALID_FILTER_EXPRESSION
See Also:
Constant Field Values

ILLEGAL_STATE

public static final int ILLEGAL_STATE
See Also:
Constant Field Values

SECURITY_EXCEPTION

public static final int SECURITY_EXCEPTION
See Also:
Constant Field Values

ADDRESS_DOES_NOT_EXIST

public static final int ADDRESS_DOES_NOT_EXIST
See Also:
Constant Field Values

ADDRESS_EXISTS

public static final int ADDRESS_EXISTS
See Also:
Constant Field Values

INCOMPATIBLE_CLIENT_SERVER_VERSIONS

public static final int INCOMPATIBLE_CLIENT_SERVER_VERSIONS
See Also:
Constant Field Values

SESSION_EXISTS

public static final int SESSION_EXISTS
See Also:
Constant Field Values

LARGE_MESSAGE_ERROR_BODY

public static final int LARGE_MESSAGE_ERROR_BODY
See Also:
Constant Field Values

NATIVE_ERROR_INTERNAL

public static final int NATIVE_ERROR_INTERNAL
See Also:
Constant Field Values

NATIVE_ERROR_INVALID_BUFFER

public static final int NATIVE_ERROR_INVALID_BUFFER
See Also:
Constant Field Values

NATIVE_ERROR_NOT_ALIGNED

public static final int NATIVE_ERROR_NOT_ALIGNED
See Also:
Constant Field Values

NATIVE_ERROR_CANT_INITIALIZE_AIO

public static final int NATIVE_ERROR_CANT_INITIALIZE_AIO
See Also:
Constant Field Values

NATIVE_ERROR_CANT_RELEASE_AIO

public static final int NATIVE_ERROR_CANT_RELEASE_AIO
See Also:
Constant Field Values

NATIVE_ERROR_CANT_OPEN_CLOSE_FILE

public static final int NATIVE_ERROR_CANT_OPEN_CLOSE_FILE
See Also:
Constant Field Values

NATIVE_ERROR_CANT_ALLOCATE_QUEUE

public static final int NATIVE_ERROR_CANT_ALLOCATE_QUEUE
See Also:
Constant Field Values

NATIVE_ERROR_PREALLOCATE_FILE

public static final int NATIVE_ERROR_PREALLOCATE_FILE
See Also:
Constant Field Values

NATIVE_ERROR_ALLOCATE_MEMORY

public static final int NATIVE_ERROR_ALLOCATE_MEMORY
See Also:
Constant Field Values

NATIVE_ERROR_IO

public static final int NATIVE_ERROR_IO
See Also:
Constant Field Values

NATIVE_ERROR_AIO_FULL

public static final int NATIVE_ERROR_AIO_FULL
See Also:
Constant Field Values
Constructor Detail

HornetQException

public HornetQException()

HornetQException

public HornetQException(int code)

HornetQException

public HornetQException(int code,
                        java.lang.String msg)

HornetQException

public HornetQException(int code,
                        java.lang.String msg,
                        java.lang.Throwable cause)
Method Detail

getCode

public int getCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2009 Red Hat Inc. All Rights Reserved.