org.apache.qpid
Class AMQInternalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by org.apache.qpid.AMQInternalException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AMQStoreException

public class AMQInternalException
extends AMQException

InternalException encapsulates error code 541, or AMQConstant.INTERNAL_ERROR exceptions relating to the AMQ protocol. It is used to report internal failures and errors that occur within the broker.

See Also:
Serialized Form

Constructor Summary
AMQInternalException(String msg)
           
AMQInternalException(String msg, Throwable cause)
          Creates an exception with an optional message and optional underlying cause.
 
Method Summary
 
Methods inherited from class org.apache.qpid.AMQException
cloneForCurrentThread, getErrorCode, isHardError, 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
 

Constructor Detail

AMQInternalException

public AMQInternalException(String msg,
                            Throwable cause)
Creates an exception with an optional message and optional underlying cause.

Parameters:
msg - The exception message. May be null if not to be set.
cause - The underlying cause of the exception. May be null if not to be set.

AMQInternalException

public AMQInternalException(String msg)


Licensed to the Apache Software Foundation