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:
- java.io.Serializable
- public class LoggingException
- extends java.lang.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LoggingException
public LoggingException()
LoggingException
public LoggingException(java.lang.String message)
LoggingException
public LoggingException(java.lang.Throwable cause)
LoggingException
public LoggingException(java.lang.String message,
java.lang.Throwable cause)
LoggingException
public LoggingException(java.lang.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(java.lang.Throwable cause,
Level level)
- Create the exception.
- Parameters:
level - 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.7.1.20041002