Package org.apache.qpid.server
Class QpidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.server.QpidException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AMQException
public class QpidException extends Exception
AMQException 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(String msg)QpidException(String msg, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QpidExceptionclone()QpidExceptioncloneForCurrentThread()Rethrown this exception as a new exception.StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
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()
-
-