Class NotSupportedOldVersionPDUException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opends.server.replication.protocol.NotSupportedOldVersionPDUException
- All Implemented Interfaces:
Serializable
This exception should be raised by the un-serialization code of a PDU (typically the constructor code with a byte[]
parameter), when the detected PDU type (deduced from the first received byte of the message) is a PDU used in an
older version of the replication protocol than the current one, and we do not support translation from this old
version PDU to his matching PDU in the current protocol version (if it exists). Thus, the code catching this
exception may decide special treatment, depending on the situation. For instance it may decide to trash the PDU and
keep the connection opened, or to trash the PDU and close the connection...
- See Also:
-
Constructor Summary
ConstructorDescriptionNotSupportedOldVersionPDUException
(String pduStr, short protocolVersion, byte pduType) Exception constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
NotSupportedOldVersionPDUException
Exception constructor.- Parameters:
pduStr
- PDU description.protocolVersion
- PDU protocol version.pduType
- PDU number.
-
-
Method Details