org.jboss.messaging.core.exception
Class MessagingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.messaging.core.exception.MessagingException
All Implemented Interfaces:
java.io.Serializable

public class MessagingException
extends java.lang.Exception

A MessagingException

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 ILLEGAL_STATE
           
static int INCOMPATIBLE_CLIENT_SERVER_VERSIONS
           
static int INTERNAL_ERROR
           
static int INVALID_FILTER_EXPRESSION
           
static int NOT_CONNECTED
           
static int OBJECT_CLOSED
           
static int QUEUE_DOES_NOT_EXIST
           
static int QUEUE_EXISTS
           
static int SECURITY_EXCEPTION
           
static int UNSUPPORTED_PACKET
           
 
Constructor Summary
MessagingException()
           
MessagingException(int code)
           
MessagingException(int code, java.lang.String msg)
           
 
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

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
Constructor Detail

MessagingException

public MessagingException()

MessagingException

public MessagingException(int code)

MessagingException

public MessagingException(int code,
                          java.lang.String msg)
Method Detail

getCode

public int getCode()

toString

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


Copyright © 2006 JBoss Inc. All Rights Reserved.