Package com.sun.jini.reliableLog
Class LogException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.sun.jini.reliableLog.LogException
- All Implemented Interfaces:
Serializable
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.
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a wrapper exception for exceptions that occur during a logging operation.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
Modifier and TypeMethodDescriptiongetCause()Returns the nested exception (the cause).Produce the message; including the message from the nested exception if there is one.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
detail
-
-
Constructor Details
-
LogException
public LogException()Create a wrapper exception for exceptions that occur during a logging operation. -
LogException
For exceptions that occur during a logging operation, create a wrapper exception with the specified description string. -
LogException
For exceptions that occur during a logging operation, create a wrapper exception with the specified description string and the specified nested exception.
-
-
Method Details
-
getMessage
Produce the message; including the message from the nested exception if there is one.- Overrides:
getMessagein classThrowable
-
getCause
Returns the nested exception (the cause).
-