|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.common.model
Class ModelException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aendvari.common.model.ModelException
- All Implemented Interfaces:
- java.io.Serializable
- public class ModelException
- extends java.lang.RuntimeException
Thrown when a particular Model operation could not be performed. The causing
exception, if any, is available in the exception property. This
exception does not have to be caught explictly. Generally, Model methods return
specific error values during normal operation.
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
protected java.lang.Throwable |
rootCause
The exception that caused this exception, may be null. |
| Fields inherited from class java.lang.RuntimeException |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
ModelException(java.lang.String setMessage)
Creates a ModelException instance. |
|
ModelException(java.lang.Throwable setRootCause)
Creates a ModelException instance with a causing exception. |
|
| Method Summary | |
java.lang.Throwable |
getRootCause()
Returns the exception that caused this exception, null if none. |
java.lang.String |
toString()
Returns a string representation of the exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
rootCause
protected java.lang.Throwable rootCause
- The exception that caused this exception, may be null.
| Constructor Detail |
ModelException
public ModelException(java.lang.String setMessage)
- Creates a
ModelExceptioninstance.
ModelException
public ModelException(java.lang.Throwable setRootCause)
- Creates a
ModelExceptioninstance with a causing exception.
| Method Detail |
getRootCause
public java.lang.Throwable getRootCause()
- Returns the exception that caused this exception, null if none.
toString
public java.lang.String toString()
- Returns a string representation of the exception.
|
|||||||||
| Home >> All >> com >> aendvari >> common >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC