org.mmbase.util.logging
Class LoggingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.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
|
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 |
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 exceptionlevel - 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 exceptionlevel - the level of logging at which the exception occurred
getLevel
public Level getLevel()
- Returns the level of logging at which the exception occurred
MMBase build 1.8.1.20060716