Class AMQConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.server.QpidException
-
- org.apache.qpid.server.AMQException
-
- org.apache.qpid.server.protocol.v0_8.AMQConnectionException
-
- All Implemented Interfaces:
Serializable
public class AMQConnectionException extends AMQException
AMQConnectionException indicates that an error that requires the channel to be closed has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AMQConnectionException(int errorCode, String msg, int classId, int methodId, MethodRegistry methodRegistry, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AMQExceptioncloneForCurrentThread()Rethrown this exception as a new exception.AMQFramegetCloseFrame()-
Methods inherited from class org.apache.qpid.server.AMQException
getErrorCode, isHardError, toString
-
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
-
-
-
-
Constructor Detail
-
AMQConnectionException
public AMQConnectionException(int errorCode, String msg, int classId, int methodId, MethodRegistry methodRegistry, Throwable cause)
-
-
Method Detail
-
getCloseFrame
public AMQFrame getCloseFrame()
-
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 classAMQException- Returns:
- cloned exception
-
-