public class CommunicationProtocolException
extends java.lang.Exception
Constructor and Description |
---|
CommunicationProtocolException(int messageType,
int fullMessageVersion)
Creates the exception, setting a message that the given messageType/version was not found by the engine seeking it.
|
CommunicationProtocolException(java.lang.String msg,
java.lang.Exception cause)
Creates the exception, setting a message that the cause of this exception is the other exception given as an argument here
|
CommunicationProtocolException(java.lang.String name,
int messageType)
Deprecated.
deprecated
|
CommunicationProtocolException(java.lang.String name,
java.lang.String expectedType)
Creates the exception, setting a message that the messageType/version obtained from an InputStream did not match the expected message type.
|
@Deprecated public CommunicationProtocolException(java.lang.String name, int messageType)
messageType
- The numeric ID of the message type expected.name
- The classname of the message actually received from the streampublic CommunicationProtocolException(java.lang.String name, java.lang.String expectedType)
expectedType
- The classname of the message expected by the systemname
- The classname of the message actually received from the streampublic CommunicationProtocolException(int messageType, int fullMessageVersion)
messageType
- The numeric ID of the message type sought.fullMessageVersion
- The number indicating the major and minor version numbers of the message type that was not found.public CommunicationProtocolException(java.lang.String msg, java.lang.Exception cause)
msg
- The basic message to be displayedcause
- The exception that caused the need for this one to be thrown