Package com.zeroc.Ice
Class BadMagicException
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.BadMagicException
- All Implemented Interfaces:
Serializable
,Cloneable
This exception indicates that a message did not start with the expected
magic number ('I', 'c', 'e', 'P').
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]
A sequence containing the first four bytes of the incorrect message.Fields inherited from class com.zeroc.Ice.ProtocolException
reason
-
Constructor Summary
ConstructorsConstructorDescriptionBadMagicException
(String reason, byte[] badMagic) BadMagicException
(String reason, byte[] badMagic, Throwable cause) BadMagicException
(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
-
badMagic
public byte[] badMagicA sequence containing the first four bytes of the incorrect message.
-
-
Constructor Details
-
BadMagicException
public BadMagicException() -
BadMagicException
-
BadMagicException
-
BadMagicException
-
-
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.
-