public class AMQProtocolException extends AMQException
| Constructor and Description |
|---|
AMQProtocolException(AMQConstant errorCode,
String msg,
Throwable cause)
Constructor for a Protocol Exception
|
cloneForCurrentThread, getErrorCode, isHardError, toStringcloneaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AMQProtocolException(AMQConstant errorCode, 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 .errorCode - A string specifyin the error code of this exception.cause - The linked Execption.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.