Package org.apache.qpid.server
Class QpidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.server.QpidException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AMQException
public class QpidException extends java.lang.ExceptionAMQException forms the root exception of all exceptions relating to the AMQ protocol. It provides space to associate a required AMQ error code with the exception, which is a numeric value, with a meaning defined by the protocol.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QpidException(java.lang.String msg)QpidException(java.lang.String msg, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QpidExceptionclone()QpidExceptioncloneForCurrentThread()Rethrown this exception as a new exception.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
cloneForCurrentThread
public QpidException cloneForCurrentThread()
Rethrown this exception as a new exception. Attempt to create a new exception of the same class if they have the default constructor of: {String, Throwable}.- Returns:
- cloned exception
-
clone
public QpidException clone()
- Overrides:
clonein classjava.lang.Object
-
-