public class ProtocolException extends Exception
ProtocolException
is thrown as a result of a remote method invocation while
unmarshalling the arguments to get request/reply packet.
A ProtocolException
instance contains the original java.lang.Throwable
that occurred as its cause.CPeer
,
ConnPoolInvocationHandler
,
Serialized FormConstructor and Description |
---|
ProtocolException(String s,
Throwable ex)
Constructs a
ProtocolException with the specified detail message and nested
exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProtocolException(String s, Throwable ex)
ProtocolException
with the specified detail message and nested
exception.s
- the detail message.ex
- the nested exception, can't be null.IllegalArgumentException
- throws if the cause object is null.Copyright © GigaSpaces.