|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.axis.InternalException
Encapsulates exceptions for "should never occur" situations. Extends RuntimeException so it need not explicitly be caught. Logs the exception as a fatal error, and if debug is enabled, includes the full stack trace.
Constructor Summary | |
InternalException(java.lang.Exception e)
Construct an Internal Exception from an Exception. |
|
InternalException(java.lang.String message)
Construct an Internal Exception from a String. |
Method Summary | |
static boolean |
getLogging()
Discover whether the logging flag is set. |
static void |
setLogging(boolean logging)
Enable or dissable logging. |
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InternalException(java.lang.String message)
message
- String form of the errorpublic InternalException(java.lang.Exception e)
e
- original exception which was unexpectedMethod Detail |
public static void setLogging(boolean logging)
logging
- true if you wish logging to be enabled, false otherwisepublic static boolean getLogging()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |