|
|||||||||||
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 | +--br.shob.CommLayerException
This exception is generated when a communication problem occurs. It can be another exception thrown at lower levels, via the exception chaining mechanism.
Constructor Summary | |
CommLayerException()
Creates new CommLayerException without detail message. |
|
CommLayerException(String msg)
Constructs a CommLayerException with the specified detail
message. |
|
CommLayerException(String message,
Throwable cause)
Constructor for the CommLayerException object |
|
CommLayerException(Throwable cause)
Constructor for the CommLayerException object |
Method Summary | |
String |
toString()
Unlike ordinary exceptions, this method calls the toString()
method of the cause throwable if it is not null. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CommLayerException()
CommLayerException
without detail message.
public CommLayerException(String msg)
CommLayerException
with the specified detail
message.
msg
- the detail message.public CommLayerException(String message, Throwable cause)
message
- a detail message for the exceptioncause
- the cause of this exceptionpublic CommLayerException(Throwable cause)
cause
- the cause of this exceptionMethod Detail |
public String toString()
toString()
method of the cause throwable if it is not null.
toString
in class Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |