|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
be.SIRAPRISE.client.CommunicationProtocolException
public class CommunicationProtocolException
A CommunicationProtocolException indicates that an unexpected message type has appeared in a communication scenario between a client and a SIRA_PRISE server, or that some problem has occurred which prevented the communication from succeeding (such as e.g. a Signature computation that failed for some reason).
| Constructor Summary | |
|---|---|
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. |
|
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. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 stream
public 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 stream
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||