public class InternalException
extends java.lang.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(java.lang.Exception e)
Construct an Internal Exception from an Exception.
|
InternalException(java.lang.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.
|
protected static org.apache.commons.logging.Log log
Log
used by this class to log messages.public InternalException(java.lang.String message)
message
- String form of the errorpublic InternalException(java.lang.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 ? 2005 Apache Web Services Project. All Rights Reserved.