Class 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:
  • Field Details

  • Constructor Details

    • 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 Details

    • 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