|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException ca.idms.net.PacketException
public class PacketException
Thrown to indicate that there is an error in the DSI packet protocol.
Constructor Summary | |
---|---|
PacketException()
Constructs a general PacketException with no detail message. |
|
PacketException(int e)
Constructs a new PacketException with the specified error code and no detail message. |
|
PacketException(int e,
java.lang.String s)
Constructs a new PacketException with the specified error code and detail message. |
|
PacketException(java.lang.String s)
Constructs a general PacketException with the specified detail message. |
Method Summary | |
---|---|
java.lang.String |
getDetailMessage()
Returns the detail message. |
int |
getError()
Gets PacketError detailed error code. |
java.lang.String |
getMessage()
Returns the complete message. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PacketException()
public PacketException(java.lang.String s)
s
- the message.public PacketException(int e)
e
- the error code.public PacketException(int e, java.lang.String s)
e
- the error code.s
- the detail message.Method Detail |
---|
public int getError()
public java.lang.String getDetailMessage()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |