public class Error extends Object implements Serializable
Constructor and Description |
---|
Error(String key)
Creates a new error code with a lookup value of
key . |
Modifier and Type | Method and Description |
---|---|
String |
getErrorKey()
Returns the error code key.
|
String |
toString()
Displays the Error object as a string, namely it's errorKey value.
|
public Error(String key)
key
.key
- The error code key.Copyright © 2005–2023 MojoHaus. All rights reserved.