|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.xml.schemavalidator.DocErrorHandler
Deprecated. This class implements the three methods,i.e., error(),warning(), fatalError() defined in the ErrorHandler interface. All three methods adds the line, column, node information along with the error message to a vector maintained internally. This handler is useful in getting a dump of the error that occured during the schema validation.
public class DocErrorHandler
Constructor Summary | |
---|---|
DocErrorHandler() Deprecated. Default Constructor for the ErrorHandler |
Method Summary | |
---|---|
void |
error(SAXParseException ex) Deprecated. Adds a Error message to the vector |
void |
fatalError(SAXParseException ex) Deprecated. Adds a fatalError message to the vector |
java.util.Vector |
getErrorList() Deprecated. Gets the List of Error messages returned by the Validator. |
int |
getNumErrors() Deprecated. Gets the List of Error messages returned by the Validator. |
void |
warning(SAXParseException ex) Deprecated. Adds a warning message to the vector |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocErrorHandler() throws java.io.IOException, java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
Method Detail |
---|
public void warning(SAXParseException ex) throws SAXException
warning
in interface ErrorHandler
-
- SAXParseException ex-
- SAXExceptionSAXException
- Any SAX exception, possibly wrapping another exception.SAXParseException
public void error(SAXParseException ex) throws SAXException
error
in interface ErrorHandler
-
- SAXParseException ex-
- SAXExceptionSAXException
- Any SAX exception, possibly wrapping another exception.SAXParseException
public void fatalError(SAXParseException ex) throws SAXException
fatalError
in interface ErrorHandler
-
- SAXParseException ex-
- SAXExceptionSAXException
- Any SAX exception, possibly wrapping another exception.SAXParseException
public java.util.Vector getErrorList()
public int getNumErrors()
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.