Class IncompatibleControlProtocolException

All Implemented Interfaces:
Serializable

public class IncompatibleControlProtocolException extends ConnectorException
Reports that a peer cannot participate in the negotiated Net4j control protocol.

The exception identifies incompatibility failures detected during the mandatory HELLO exchange or while interpreting control messages under the established protocol version. Its cause, when present, retains the decoding or transport failure that exposed the incompatibility.

Since:
4.23
Author:
Eike Stepper
See Also:
  • Constructor Details

    • IncompatibleControlProtocolException

      public IncompatibleControlProtocolException(String message)
      Creates a control-protocol incompatibility with a diagnostic message.
      Parameters:
      message - the incompatibility diagnostic
    • IncompatibleControlProtocolException

      public IncompatibleControlProtocolException(String message, Throwable cause)
      Creates a control-protocol incompatibility with a diagnostic message and its originating failure.
      Parameters:
      message - the incompatibility diagnostic
      cause - the decoding or transport failure that exposed the incompatibility