Package com.zeroc.Ice
Class UnsupportedProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.Exception
com.zeroc.Ice.LocalException
com.zeroc.Ice.ProtocolException
com.zeroc.Ice.UnsupportedProtocolException
- All Implemented Interfaces:
Serializable
,Cloneable
This exception indicates an unsupported protocol version.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe version of the unsupported protocol.The version of the protocol that is supported.Fields inherited from class com.zeroc.Ice.ProtocolException
reason
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedProtocolException
(String reason, ProtocolVersion bad, ProtocolVersion supported) UnsupportedProtocolException
(String reason, ProtocolVersion bad, ProtocolVersion supported, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
bad
The version of the unsupported protocol. -
supported
The version of the protocol that is supported.
-
-
Constructor Details
-
UnsupportedProtocolException
public UnsupportedProtocolException() -
UnsupportedProtocolException
-
UnsupportedProtocolException
-
UnsupportedProtocolException
public UnsupportedProtocolException(String reason, ProtocolVersion bad, ProtocolVersion supported, Throwable cause)
-
-
Method Details
-
ice_id
Description copied from class:Exception
Returns the type id of this exception.- Overrides:
ice_id
in classProtocolException
- Returns:
- The type id of this exception.
-