java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | org.apache.xerces.impl.dv.DatatypeException |
Known Direct Subclasses |
Base class for datatype exceptions. For DTD types, the exception can be created from an error message. For Schema types, it needs an error code (as defined in Appendix C of the structure spec), plus an array of arguents, for error message substitution.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
args | |||||||||||
key |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new datatype exception by providing an error code and a list
of error message substitution arguments.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the list of error arguments
| |||||||||||
Return the error code
| |||||||||||
Overrides this method to get the formatted&localized error message.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Create a new datatype exception by providing an error code and a list of error message substitution arguments.
key | error code |
---|---|
args | error arguments |
Overrides this method to get the formatted&localized error message. REVISIT: the system locale is used to load the property file. do we want to allow the appilcation to specify a different locale?