org.apache.woden.internal
Class ErrorHandlerImpl

java.lang.Object
  extended by org.apache.woden.internal.ErrorHandlerImpl
All Implemented Interfaces:
ErrorHandler

public class ErrorHandlerImpl
extends java.lang.Object
implements ErrorHandler

This class implements the default error handling behaviour, which is simply to report warnings, errors and fatal errors by printing the error info to the system output stream. Implementations may replace this behaviour by providing their own implementation of the ErrorHandler interface.

Author:
jkaputin@apache.org

Constructor Summary
ErrorHandlerImpl()
           
 
Method Summary
 void error(ErrorInfo errorInfo)
           
 void fatalError(ErrorInfo errorInfo)
           
 void warning(ErrorInfo errorInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlerImpl

public ErrorHandlerImpl()
Method Detail

warning

public void warning(ErrorInfo errorInfo)
Specified by:
warning in interface ErrorHandler

error

public void error(ErrorInfo errorInfo)
Specified by:
error in interface ErrorHandler

fatalError

public void fatalError(ErrorInfo errorInfo)
Specified by:
fatalError in interface ErrorHandler


Copyright © 2007. All Rights Reserved.