|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ejen.EjenErrors.EjenError
Class that represents one error.
Constructor Summary | |
EjenErrors.EjenError(String name)
Constructs an EjenError whose name is 'name'. |
Method Summary | |
Properties |
getMessages()
Returns the messages of this EjenError as Properties. |
String |
getName()
Returns the name of this EjenError. |
void |
putMessage(String id,
String message)
Adds a message into this EjenError with a name set to id. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EjenErrors.EjenError(String name)
name
- name of this EjenError.Method Detail |
public String getName()
public Properties getMessages()
public void putMessage(String id, String message)
id
- name of the new message.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |