|
GigaSpaces XAP 9.7.2 API | |||||||||
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 com.sun.jini.reliableLog.LogException
public class LogException
This class can be used to represent all exceptional conditions that occur during any logging process. Whenever an exception is caught while information is being logged, the exception can be wrapped in this class so as to indicate an unsuccessful log operation.
Field Summary | |
---|---|
Throwable |
detail
|
Constructor Summary | |
---|---|
LogException()
Create a wrapper exception for exceptions that occur during a logging operation. |
|
LogException(String s)
For exceptions that occur during a logging operation, create a wrapper exception with the specified description string. |
|
LogException(String s,
Throwable ex)
For exceptions that occur during a logging operation, create a wrapper exception with the specified description string and the specified nested exception. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the nested exception (the cause). |
String |
getMessage()
Produce the message; including the message from the nested exception if there is one. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 |
Field Detail |
---|
public Throwable detail
Constructor Detail |
---|
public LogException()
public LogException(String s)
public LogException(String s, Throwable ex)
Method Detail |
---|
public String getMessage()
getMessage
in class Throwable
public Throwable getCause()
getCause
in class Throwable
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |