public class GeneralException
extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
AttribList |
attribs
Attributes that give more info on the exception
|
| Constructor and Description |
|---|
GeneralException(String message)
Default constructor.
|
GeneralException(String message,
Throwable cause)
Constructor that includes a reference to the exception that caused
this one.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSevere()
Tells whether this is a really bad problem.
|
void |
set(String attribName,
String attribValue)
Sets an attribute for further information on the exception.
|
public AttribList attribs
public GeneralException(String message)
message - Description of what happenedpublic GeneralException(String message,
Throwable cause)
message - Description of what happenedcause - The exception that caused this one.public void set(String attribName,
String attribValue)
public boolean isSevere()