public class AMQProtocolException extends AMQException
| Constructor and Description |
|---|
AMQProtocolException(String msg,
Throwable cause)
Constructor for a Protocol Exception
|
| Modifier and Type | Method and Description |
|---|---|
AMQProtocolException |
cloneForCurrentThread()
Rethrown this exception as a new exception.
|
getErrorCode, isHardError, toStringcloneaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AMQProtocolException(String msg, Throwable cause)
This is the only provided constructor and the parameters have to be set to null when they are unknown.
msg - A description of the reason of this exception .cause - The linked Execption.public AMQProtocolException cloneForCurrentThread()
QpidExceptioncloneForCurrentThread in class AMQExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.