Class ProtocolException

All Implemented Interfaces:
Serializable

public class ProtocolException extends RuntimeException
See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • ProtocolException Link icon

      public ProtocolException(String message, int code)
    • ProtocolException Link icon

      public ProtocolException(String message, int code, Throwable cause)
  • Method Details Link icon

    • getCode Link icon

      public int getCode()
    • unexpectedMessage Link icon

      public static ProtocolException unexpectedMessage(Class<? extends com.google.protobuf.MessageLite> expected, com.google.protobuf.MessageLite actual)
    • unexpectedMessage Link icon

      public static ProtocolException unexpectedMessage(String type, com.google.protobuf.MessageLite actual)
    • commandDoesNotMatch Link icon

      public static ProtocolException commandDoesNotMatch(com.google.protobuf.MessageLite expected, com.google.protobuf.MessageLite actual)
    • commandClassDoesNotMatch Link icon

      public static ProtocolException commandClassDoesNotMatch(Class<? extends com.google.protobuf.MessageLite> expectedClazz, com.google.protobuf.MessageLite actual)
    • commandsToProcessIsEmpty Link icon

      public static ProtocolException commandsToProcessIsEmpty()
    • unknownMessageType Link icon

      public static ProtocolException unknownMessageType(short type)
    • methodNotFound Link icon

      public static ProtocolException methodNotFound(String serviceName, String handlerName)
    • badState Link icon

      public static ProtocolException badState(Object thisState)
    • badNotificationMessage Link icon

      public static ProtocolException badNotificationMessage(String missingField)
    • badRunNotificationId Link icon

      public static ProtocolException badRunNotificationId(NotificationId notificationId)
    • commandMissingField Link icon

      public static ProtocolException commandMissingField(Class<?> clazz, String missingField)
    • inputClosedWhileWaitingEntries Link icon

      public static ProtocolException inputClosedWhileWaitingEntries()
    • closedWhileWaitingEntries Link icon

      public static ProtocolException closedWhileWaitingEntries()
    • idempotencyKeyIsEmpty Link icon

      public static ProtocolException idempotencyKeyIsEmpty()
    • unauthorized Link icon

      public static ProtocolException unauthorized(Throwable e)