|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
unsw.cse.mica.MicaException
unsw.cse.mica.TransportException
public class TransportException
An exception class to indicate a problem with the transport. This may be on of:
Field Summary | |
---|---|
static java.lang.String |
ALREADYCONNECTED
A constant string used to indicate an attempt to connect when already connected |
static java.lang.String |
CONNECTIONBROKEN
A constant string used to indicate a that a connection has been broken. |
static java.lang.String |
NOTCONNECTED
A constant string used to indicate an attempt to perform an action (other than connecting) when not connected |
Constructor Summary | |
---|---|
TransportException(java.lang.Exception cause)
Create a new chainingTransportException with the given cause |
|
TransportException(java.lang.String msg)
Create a new TransportException with the given description |
|
TransportException(java.lang.String msg,
java.lang.Exception cause)
Create a new TransportException with the given description and cause |
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 |
Field Detail |
---|
public static final java.lang.String NOTCONNECTED
public static final java.lang.String ALREADYCONNECTED
public static final java.lang.String CONNECTIONBROKEN
Constructor Detail |
---|
public TransportException(java.lang.String msg)
msg
- the descrpition of the problempublic TransportException(java.lang.Exception cause)
cause
- the exception that is being chainedpublic TransportException(java.lang.String msg, java.lang.Exception cause)
msg
- the descrpition of the problemcause
- the exception that is being chained.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |