org.mmbase.util.logging
Class LoggingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.mmbase.util.logging.LoggingException
All Implemented Interfaces:
Serializable

public class LoggingException
extends RuntimeException

Exceptions thrown by logging can be wrapped in this. Odd logging implementation like 'ExceptionImpl' do this.

Since:
MMBase-1.7
Author:
Michiel Meeuwissen
See Also:
ExceptionImpl, Serialized Form

Constructor Summary
LoggingException()
           
LoggingException(String message)
           
LoggingException(String message, Level level)
          Create the exception.
LoggingException(String message, Throwable cause)
           
LoggingException(Throwable cause)
           
LoggingException(Throwable cause, Level level)
          Create the exception.
 
Method Summary
 Level getLevel()
          Returns the level of logging at which the exception occurred
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoggingException

public LoggingException()

LoggingException

public LoggingException(String message)

LoggingException

public LoggingException(Throwable cause)

LoggingException

public LoggingException(String message,
                        Throwable cause)

LoggingException

public LoggingException(String message,
                        Level level)
Create the exception.

Parameters:
message - a description of the exception
level - the level of logging at which the exception occurred

LoggingException

public LoggingException(Throwable cause,
                        Level level)
Create the exception.

Parameters:
cause - the cause of the exception
level - the level of logging at which the exception occurred
Method Detail

getLevel

public Level getLevel()
Returns the level of logging at which the exception occurred



MMBase build 1.8.1.20060716