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

java.lang.Objectorg.jomc.model.ModelException.Detail
public static class ModelException.Detail
ModelException detail.
| Field Summary | |
|---|---|
private JAXBElement<? extends ModelObject> |
element
The element this detail is associated with. |
private Level |
level
The detail level. |
private String |
message
The detail message. |
private static long |
serialVersionUID
Serial version UID for compatibility with 1.0.x object streams. |
| Constructor Summary | |
|---|---|
ModelException.Detail(Level level,
String message)
Creates a new Detail taking a detail level and message. |
|
| Method Summary | |
|---|---|
JAXBElement<? extends ModelObject> |
getElement()
Gets the element of this detail. |
Level |
getLevel()
Gets the level of this detail. |
String |
getMessage()
Gets the message of this detail. |
void |
setElement(JAXBElement<? extends ModelObject> value)
Sets the element of this detail. |
String |
toString()
Creates and returns a string representation of the object. |
private String |
toStringInternal()
Creates and returns a string representation of the object. |
| 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 Level level
private String message
private JAXBElement<? extends ModelObject> element
| Constructor Detail |
|---|
public ModelException.Detail(Level level,
String message)
Detail taking a detail level and message.
level - The detail level.message - The detail message.| Method Detail |
|---|
public Level getLevel()
public String getMessage()
public JAXBElement<? extends ModelObject> getElement()
null.public void setElement(JAXBElement<? extends ModelObject> value)
value - The new element of this detail or null.private String toStringInternal()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||