|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Classification.NeuralNetwork.NeuralNetwork.NeuralNetworkErrorHandler
private static class NeuralNetwork.NeuralNetworkErrorHandler
Error handler to report errors and warnings. TODO: iclement: this may need revision.
Field Summary | |
---|---|
private java.io.PrintWriter |
oOut
Error handler output goes here. |
Constructor Summary | |
---|---|
NeuralNetwork.NeuralNetworkErrorHandler(java.io.PrintWriter poOut)
Constructs our error handler with the given writer. |
Method Summary | |
---|---|
void |
error(org.xml.sax.SAXParseException poParseException)
Issues a SAX error. |
void |
fatalError(org.xml.sax.SAXParseException poParseException)
Issues a SAX fatal error. |
private java.lang.String |
getParseExceptionInfo(org.xml.sax.SAXParseException poParseException)
Returns a string describing parse exception details. |
void |
warning(org.xml.sax.SAXParseException poParseException)
Issues a SAX warning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.io.PrintWriter oOut
Constructor Detail |
---|
NeuralNetwork.NeuralNetworkErrorHandler(java.io.PrintWriter poOut)
poOut
- writer to write errors toMethod Detail |
---|
private java.lang.String getParseExceptionInfo(org.xml.sax.SAXParseException poParseException)
poParseException
- exception to get info from
public void warning(org.xml.sax.SAXParseException poParseException) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
poParseException
- the parse exception to warn about
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException poParseException) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
poParseException
- the source of the error information
org.xml.sax.SAXException
- the error based on the parse exceptionpublic void fatalError(org.xml.sax.SAXParseException poParseException) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
poParseException
- the source of the error information
org.xml.sax.SAXException
- the error based on the parse exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |