public class GeneralException
extends java.lang.Exception
toString()
based on a debug level.Modifier and Type | Class and Description |
---|---|
static class |
GeneralException.Debug
Enumeration of the different debug levels
|
Constructor and Description |
---|
GeneralException(java.lang.String message,
java.lang.Throwable cause)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
setDebug(GeneralException.Debug i)
Set debug level
|
java.lang.String |
toString() |
public GeneralException(java.lang.String message, java.lang.Throwable cause)
message
- The reason for the problemcause
- The underlying throwable that caused the problem if applicable or null
if notpublic java.lang.String toString()
toString
in class java.lang.Throwable
public static void setDebug(GeneralException.Debug i)
i
- The debug level.