|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.exception.Error
A key for a particular CodedException. This key is used to look up the actual error message text.
Constructor Summary | |
Error(java.lang.String key)
Creates a new error code with a lookup value of key . |
Method Summary | |
java.lang.String |
getErrorKey()
Returns the error code key. |
java.lang.String |
toString()
Displays the Error object as a string, namely it's errorKey value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Error(java.lang.String key)
key
.
key
- The error code key.Method Detail |
public final java.lang.String getErrorKey()
public final java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |