org.tonjac.util
Class LogException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.tonjac.util.LogException
All Implemented Interfaces:
java.io.Serializable

public class LogException
extends java.lang.Exception

Exception that logs the error message

Author:
Toni Thomsson
See Also:
Serialized Form

Constructor Summary
LogException(java.lang.String msg)
          Create an exception that logs at the severe level
LogException(java.lang.String msg, java.util.logging.Level level)
          Create an exception that logs
LogException(java.lang.Throwable e)
          Create an exception that logs at the severe level
LogException(java.lang.Throwable e, java.util.logging.Level level)
          Create an exception that logs
 
Method Summary
 
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

LogException

public LogException(java.lang.String msg)
Create an exception that logs at the severe level

Parameters:
msg - Error message

LogException

public LogException(java.lang.Throwable e)
Create an exception that logs at the severe level

Parameters:
e - Exception

LogException

public LogException(java.lang.String msg,
                    java.util.logging.Level level)
Create an exception that logs

Parameters:
msg - Message
level - Log level

LogException

public LogException(java.lang.Throwable e,
                    java.util.logging.Level level)
Create an exception that logs

Parameters:
e - Exception
level - Log level