|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jomc.model.ModelException
public class ModelException
Gets thrown for invalid model objects.
| Nested Class Summary | |
|---|---|
static class |
ModelException.Detail
ModelException detail. |
| Field Summary | |
|---|---|
private List<ModelException.Detail> |
details
Details of the instance. |
private static long |
serialVersionUID
Serial version UID for compatibility with 1.0.x object streams. |
| Constructor Summary | |
|---|---|
ModelException()
Creates a new ModelException instance. |
|
ModelException(String message)
Creates a new ModelException instance taking a message. |
|
ModelException(String message,
Throwable t)
Creates a new ModelException instance taking a message and a causing exception. |
|
ModelException(Throwable t)
Creates a new ModelException instance taking a causing exception. |
|
| Method Summary | |
|---|---|
List<ModelException.Detail> |
getDetails()
Gets the details of the instance. |
| 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 |
| Field Detail |
|---|
private static final long serialVersionUID
private final List<ModelException.Detail> details
| Constructor Detail |
|---|
public ModelException()
ModelException instance.
public ModelException(String message)
ModelException instance taking a message.
message - The message of the exception.public ModelException(Throwable t)
ModelException instance taking a causing exception.
t - The causing exception.
public ModelException(String message,
Throwable t)
ModelException instance taking a message and a causing exception.
message - The message of the exception.t - The causing exception.| Method Detail |
|---|
public List<ModelException.Detail> getDetails()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||