Package com.gigaspaces.exception.lrmi
Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.gigaspaces.exception.lrmi.ProtocolException
- All Implemented Interfaces:
Serializable
A
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.- Since:
- 5.1
- Author:
- Igor Goldenberg
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtocolException(String s, Throwable ex) Constructs aProtocolExceptionwith the specified detail message and nested exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolException
Constructs aProtocolExceptionwith the specified detail message and nested exception.- Parameters:
s- the detail message.ex- the nested exception, can't be null.- Throws:
IllegalArgumentException- throws if the cause object is null.
-