Package com.zeroc.Ice

Class ProtocolException

All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
BadMagicException, CloseConnectionException, CompressionException, ConnectionNotValidatedException, DatagramLimitException, IllegalMessageSizeException, MarshalException, UnknownMessageException, UnknownReplyStatusException, UnknownRequestIdException, UnsupportedEncodingException, UnsupportedProtocolException

public class ProtocolException extends LocalException
A generic exception base for all kinds of protocol error conditions.
See Also:
  • Field Details

    • reason

      public String reason
      The reason for the failure.
  • Constructor Details

    • ProtocolException

      public ProtocolException()
    • ProtocolException

      public ProtocolException(Throwable cause)
    • ProtocolException

      public ProtocolException(String reason)
    • ProtocolException

      public ProtocolException(String reason, Throwable cause)
  • Method Details

    • ice_id

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