| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.axis.InternalException
public class 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(Exception e)Construct an Internal Exception from an Exception. | |
| InternalException(String message)Construct an Internal Exception from a String. | |
| Method Summary | |
|---|---|
| static boolean | getLogging()Getter for logging property. | 
| static void | setLogging(boolean logging)Setter for 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 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public InternalException(String message)
message - String form of the errorpublic InternalException(Exception e)
exception - original exception which was unexpected| Method Detail | 
|---|
public static void setLogging(boolean logging)
public static boolean getLogging()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||