public class DatatypeException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
args |
protected String |
key |
| Constructor and Description |
|---|
DatatypeException(String key,
Object[] args)
Create a new datatype exception by providing an error code and a list
of error message substitution arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArgs()
Return the list of error arguments
|
String |
getKey()
Return the error code
|
String |
getMessage()
Overrides this method to get the formatted&localized error message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getKey()
public Object[] getArgs()
public String getMessage()
getMessage in class ThrowableCopyright © 2018 JBoss by Red Hat. All rights reserved.