Package org.apache.qpid.server
Class AMQException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.server.QpidException
-
- org.apache.qpid.server.AMQException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AMQConnectionException,AMQFrameDecodingException
public class AMQException extends QpidException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AMQException(int errorCode, boolean isHardError, String message, Throwable cause)AMQException(int errorCode, String message)AMQException(int errorCode, String msg, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AMQExceptioncloneForCurrentThread()Rethrown this exception as a new exception.intgetErrorCode()booleanisHardError()StringtoString()-
Methods inherited from class org.apache.qpid.server.QpidException
clone
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classQpidException
-
getErrorCode
public int getErrorCode()
-
isHardError
public boolean isHardError()
-
cloneForCurrentThread
public AMQException cloneForCurrentThread()
Description copied from class:QpidExceptionRethrown 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}.- Overrides:
cloneForCurrentThreadin classQpidException- Returns:
- cloned exception
-
-