public class Error
extends java.lang.Object
Constructor and Description |
---|
Error(java.lang.String key,
java.lang.String message,
java.lang.String[] variables) |
Error(java.lang.String key,
java.lang.String message,
java.lang.String[] variables,
int severity) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
java.lang.String |
getMessageKey() |
int |
getSeverity() |
java.lang.String |
message() |
java.lang.String |
message(java.lang.String key) |
java.lang.String |
toString() |
public Error(java.lang.String key, java.lang.String message, java.lang.String[] variables)
public Error(java.lang.String key, java.lang.String message, java.lang.String[] variables, int severity)
public java.lang.String message()
public java.lang.String getKey()
public java.lang.String message(java.lang.String key)
key
- Alternate field name (default to java variable name)public java.lang.String toString()
toString
in class java.lang.Object
public int getSeverity()
public java.lang.String getMessageKey()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly