webfunds.util
Class ExceptionModel
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--webfunds.util.ExceptionModel
- Direct Known Subclasses:
- AgentException, SOXException
- public class ExceptionModel
- extends java.lang.Exception
This exception base class can be inherited by all Exception Groups
in order to add a number to the basic Exception model.
- See Also:
- Serialized Form
|
Field Summary |
protected int |
number
|
static int |
UNKNOWN
Internal errors detected. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
number
protected int number
UNKNOWN
public static final int UNKNOWN
- Internal errors detected.
ExceptionModel
public ExceptionModel(int num,
java.lang.String msg)
- Parameters:
num - is an error code, undefined here,
extending classes to define
getNumber
public int getNumber()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Throwable