public class InternalException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
The
Log used by this class to log messages. |
Constructor and Description |
---|
InternalException(Exception e)
Construct an Internal Exception from an Exception.
|
InternalException(String message)
Construct an Internal Exception from a String.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
getLogging()
Discover whether the logging flag is set.
|
static void |
setLogging(boolean logging)
Enable or dissable logging.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected static org.apache.commons.logging.Log log
Log
used by this class to log messages.public InternalException(String message)
message
- String form of the errorpublic InternalException(Exception e)
e
- original exception which was unexpectedpublic static void setLogging(boolean logging)
logging
- true if you wish logging to be enabled, false otherwisepublic static boolean getLogging()
Copyright © The Apache Software Foundation. All Rights Reserved.