Class IncompatibleControlProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.net4j.connector.ConnectorException
org.eclipse.net4j.connector.IncompatibleControlProtocolException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCreates a control-protocol incompatibility with a diagnostic message.IncompatibleControlProtocolException(String message, Throwable cause) Creates a control-protocol incompatibility with a diagnostic message and its originating failure. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncompatibleControlProtocolException
Creates a control-protocol incompatibility with a diagnostic message.- Parameters:
message- the incompatibility diagnostic
-
IncompatibleControlProtocolException
Creates a control-protocol incompatibility with a diagnostic message and its originating failure.- Parameters:
message- the incompatibility diagnosticcause- the decoding or transport failure that exposed the incompatibility
-