|
||||||||||
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 javax.microedition.ipdr.ConnectionIOException
Represents an exception that is thrown when an I/O error occurs during reading or writing via the TCP connection.
Exception thrown when an I/O error happens during reading or writing via the TCP connection. Contains extra context information regarding what was going on, which helps in understanding problems.
Field Summary |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
ConnectionIOException(java.lang.String msg)
Creates an exception, with a message only |
|
ConnectionIOException(java.lang.String msg,
ConnectionConfig connectionConfig,
java.lang.Throwable cause)
Creates an exception, with the message, the connnection configuration, and the underlying error. |
|
ConnectionIOException(java.lang.String msg,
java.lang.Throwable cause)
Creates an exception, with a message and the underlying error. |
Method Summary | |
java.lang.Throwable |
getCause()
Gets the underlying cause. |
java.lang.String |
getOriginalMsg()
Gets the original message (without the extra stuff from the connection et al). |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, 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 ConnectionIOException(java.lang.String msg, ConnectionConfig connectionConfig, java.lang.Throwable cause)
msg
- The message that describes What went wrong.connectionConfig
- The connection configurationcause
- The I/O exception.public ConnectionIOException(java.lang.String msg)
msg
- The message that describes What went wrong.public ConnectionIOException(java.lang.String msg, java.lang.Throwable cause)
msg
- The message that describes What went wrong.cause
- The I/O ExceptionMethod Detail |
public java.lang.Throwable getCause()
public java.lang.String getOriginalMsg()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |