|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.exception.Error
public class Error
A key for a particular CodedException. This key is used to look up the actual error message text.
Constructor Summary | |
---|---|
Error(String key)
Creates a new error code with a lookup value of key . |
Method Summary | |
---|---|
String |
getErrorKey()
Returns the error code key. |
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(String key)
key
.
key
- The error code key.Method Detail |
---|
public final String getErrorKey()
public final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |