GigaSpaces XAP 9.7.2 API

com.sun.jini.reliableLog
Class LogException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.sun.jini.reliableLog.LogException
All Implemented Interfaces:
Serializable

public class LogException
extends IOException

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:
Serialized Form

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

detail

public Throwable detail
Constructor Detail

LogException

public LogException()
Create a wrapper exception for exceptions that occur during a logging operation.


LogException

public LogException(String s)
For exceptions that occur during a logging operation, create a wrapper exception with the specified description string.


LogException

public 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 Detail

getMessage

public String getMessage()
Produce the message; including the message from the nested exception if there is one.

Overrides:
getMessage in class Throwable

getCause

public Throwable getCause()
Returns the nested exception (the cause).

Overrides:
getCause in class Throwable

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.