public class AMQException extends QpidException
| Constructor and Description |
|---|
AMQException(AMQConstant errorCode,
boolean isHardError,
String message,
Throwable cause) |
AMQException(AMQConstant errorCode,
String message) |
AMQException(AMQConstant errorCode,
String msg,
Throwable cause)
Constructor for a Protocol Exception
|
| Modifier and Type | Method and Description |
|---|---|
AMQException |
cloneForCurrentThread()
Rethrown this exception as a new exception.
|
AMQConstant |
getErrorCode()
Gets the AMQ protocol exception code associated with this exception.
|
boolean |
isHardError() |
String |
toString() |
cloneaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AMQException(AMQConstant errorCode, String message)
public AMQException(AMQConstant errorCode, String msg, Throwable cause)
msg - A description of the reason of this exception .errorCode - A string specifying the error code of this exception.cause - The linked Execption.public AMQException(AMQConstant errorCode, boolean isHardError, String message, Throwable cause)
public String toString()
toString in class QpidExceptionpublic AMQConstant getErrorCode()
public boolean isHardError()
public AMQException cloneForCurrentThread()
QpidExceptioncloneForCurrentThread in class QpidExceptionCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.