|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception weblogic.apache.xerces.impl.dv.DatatypeException
public class DatatypeException
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.
Field Summary | |
---|---|
protected Object[] |
args
Deprecated. |
protected String |
key
Deprecated. |
Constructor Summary | |
---|---|
DatatypeException(String key,
Object[] args)
Deprecated. Create a new datatype exception by providing an error code and a list of error message substitution arguments. |
Method Summary | |
---|---|
Object[] |
getArgs()
Deprecated. Return the list of error arguments |
String |
getKey()
Deprecated. Return the error code |
String |
getMessage()
Deprecated. Overrides this method to get the formatted&localized error message. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String key
protected Object[] args
Constructor Detail |
---|
public DatatypeException(String key, Object[] args)
key
- error codeargs
- error argumentsMethod Detail |
---|
public String getKey()
public Object[] getArgs()
public String getMessage()
getMessage
in class Throwable
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |