public class ProtocolException extends RemotingException
| Constructor and Description |
|---|
ProtocolException()
Constructs a
ProtocolException with no detail message. |
ProtocolException(String msg)
Constructs a
ProtocolException with the specified detail message. |
ProtocolException(String msg,
Throwable cause)
Constructs a
ProtocolException with the specified detail message and cause. |
ProtocolException(Throwable cause)
Constructs a
ProtocolException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ProtocolException()
ProtocolException with no detail message. The cause is not initialized, and may subsequently be
initialized by a call to initCause.public ProtocolException(String msg)
ProtocolException with the specified detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause.msg - the detail messagepublic ProtocolException(Throwable cause)
ProtocolException with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)public ProtocolException(String msg, Throwable cause)
ProtocolException with the specified detail message and cause.msg - the detail messagecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)Copyright © 2019 JBoss by Red Hat. All rights reserved.