|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Error handling
Field Summary | |
static int |
ERRORTYPE_FATAL_ERROR
Fatal error type. |
static int |
ERRORTYPE_RECOVERABLE_ERROR
Error type. |
static int |
ERRORTYPE_WARNING
Warning type. |
Method Summary | |
org.xml.sax.Locator |
getLocator()
Get the default locator to use when reporting errors. |
void |
reportError(org.xml.sax.Locator locator,
java.lang.String errorDomain,
int majorCode,
int minorCode,
java.lang.Object[] args,
int errorType)
Report an error detected by a component of the XML parser. |
Field Detail |
public static final int ERRORTYPE_WARNING
public static final int ERRORTYPE_RECOVERABLE_ERROR
public static final int ERRORTYPE_FATAL_ERROR
Method Detail |
public org.xml.sax.Locator getLocator()
public void reportError(org.xml.sax.Locator locator, java.lang.String errorDomain, int majorCode, int minorCode, java.lang.Object[] args, int errorType) throws java.lang.Exception
locator
- Used to determine the location of the error.errorDomain
- The error domain of the error.majorCode
- The major key for the message text.minorCode
- The minor key for the message text.args
- The arguments to be used as replacement text
in the message created.errorType
- The type of error (ERRORTYPE_WARNING, ERRORTYPE_RECOVERABLE_ERROR, ERRORTYPE_FATAL_ERROR).ERRORTYPE_WARNING
,
ERRORTYPE_RECOVERABLE_ERROR
,
ERRORTYPE_FATAL_ERROR
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |