org.ikasan.framework.component.transformation
Class ExceptionThrowingErrorHandler
java.lang.Object
org.ikasan.framework.component.transformation.ExceptionThrowingErrorHandler
- All Implemented Interfaces:
- ErrorHandler
public class ExceptionThrowingErrorHandler
- extends Object
- implements ErrorHandler
Simple implementation of ErrorHandler capable of directly rethrowing the exception
- Author:
- Ikasan Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionThrowingErrorHandler
public ExceptionThrowingErrorHandler()
- Default constructor
ExceptionThrowingErrorHandler
public ExceptionThrowingErrorHandler(boolean throwExceptionOnError,
boolean throwExceptionOnFatalError,
boolean throwExceptionOnWarning)
- Constructor overriding default value for boolean flags
- Parameters:
throwExceptionOnError - Boolean flag for 'error' category of errorsthrowExceptionOnFatalError - Boolean flag for 'fatalError' category of errorsthrowExceptionOnWarning - Boolean flag for 'warning' category of errors
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error in interface ErrorHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError in interface ErrorHandler
- Throws:
SAXException
warning
public void warning(SAXParseException exception)
throws SAXException
- Specified by:
warning in interface ErrorHandler
- Throws:
SAXException
Copyright © 2007-2012 Ikasan. All Rights Reserved.