com.bankframe.fe.statemachine.ext.apploaders.sax
Class ParseErrorHandler

java.lang.Object
  extended by com.bankframe.fe.statemachine.ext.apploaders.sax.ParseErrorHandler
All Implemented Interfaces:
ErrorHandler

public class ParseErrorHandler
extends Object
implements ErrorHandler

ParseErrorHandle is a simple ErrorHandler for running the sax parse Error messages are output to the ESystem.ERROR and a SAXExceptio is then thrown.


Constructor Summary
ParseErrorHandler()
           
 
Method Summary
 void error(SAXParseException exception)
          This method logs the exception
 void fatalError(SAXParseException exception)
          This method logs fatal error
 void warning(SAXParseException exception)
          This method logs the warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseErrorHandler

public ParseErrorHandler()
Method Detail

error

public void error(SAXParseException exception)
           throws SAXException
This method logs the exception

Specified by:
error in interface ErrorHandler
Parameters:
exception -
Throws:
SAXException

fatalError

public void fatalError(SAXParseException exception)
                throws SAXException
This method logs fatal error

Specified by:
fatalError in interface ErrorHandler
Parameters:
exception -
Throws:
SAXException

warning

public void warning(SAXParseException exception)
             throws SAXException
This method logs the warning

Specified by:
warning in interface ErrorHandler
Parameters:
exception -
Throws:
SAXException


Copyright © 2005, 2007, Oracle. All rights reserved.