|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osconsulting.l10n.LocalizedMessage
org.osconsulting.jerr.JErrCode
public class JErrCode
An JErrorCode contains alphaumeric code and belongs to a certain category of errors. All JErrorCodes need to be listed in an implementation of the JErrorCategory abstact class.
Constructor Summary | |
---|---|
JErrCode(java.lang.String code,
java.util.Collection<MessageStore> messageStores)
Constructor, should only be called from the custom JErrorCategory to which this errorCode belongs. |
Method Summary |
---|
Methods inherited from class org.osconsulting.l10n.LocalizedMessage |
---|
getKey, getLocalizedMessage, getLocalizedMessage, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JErrCode(java.lang.String code, java.util.Collection<MessageStore> messageStores)
code
- - alpha numeric code, can be used to display or to lookup the
localized error message.errorCategoryClass
- - the custom implementation of the JErrorCategory class to
which this errorCode belongs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |