Package com.zeroc.Ice

Class BadMagicException

All Implemented Interfaces:
Serializable, Cloneable

public class BadMagicException extends ProtocolException
This exception indicates that a message did not start with the expected magic number ('I', 'c', 'e', 'P').
See Also:
  • Field Details

    • badMagic

      public byte[] badMagic
      A sequence containing the first four bytes of the incorrect message.
  • Constructor Details

    • BadMagicException

      public BadMagicException()
    • BadMagicException

      public BadMagicException(Throwable cause)
    • BadMagicException

      public BadMagicException(String reason, byte[] badMagic)
    • BadMagicException

      public BadMagicException(String reason, byte[] badMagic, Throwable cause)
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: Exception
      Returns the type id of this exception.
      Overrides:
      ice_id in class ProtocolException
      Returns:
      The type id of this exception.