fr.improve.xdi
Class DefaultIntegrateErrorHandler

java.lang.Object
  extended byfr.improve.xdi.DefaultIntegrateErrorHandler
All Implemented Interfaces:
IntegrateErrorHandler, java.io.Serializable

public class DefaultIntegrateErrorHandler
extends java.lang.Object
implements IntegrateErrorHandler

Default implementation of IntegrateErrorHandler

Author:
Sébastien Letélié
See Also:
Serialized Form

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
DefaultIntegrateErrorHandler()
           
 
Method Summary
 boolean continueAfterDecodeException(DecodeException in_exception)
           
 int countFileRelativeErrors()
           
 int countProcessRelativeErrors()
           
 void decodeError(DecodeException in_exception, org.w3c.dom.Document in_document, int in_lineNumber)
           
 void fatalError(java.lang.Throwable in_exception, org.w3c.dom.Document in_document, int in_lineNumber)
           
 java.util.Set getMessages()
           
 void integrateError(IntegrateException in_exception, org.w3c.dom.Document in_document, int in_lineNumber)
           
 void saveError(EnterpriseContextException in_exception, org.w3c.dom.Document in_document, java.lang.Object in_obj, int in_lineNumber)
           
 void setLogName(java.lang.String in_name)
           
 void validateError(org.apache.xerces.dom3.DOMError in_error, org.w3c.dom.Document in_document, int in_lineNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

DefaultIntegrateErrorHandler

public DefaultIntegrateErrorHandler()
Method Detail

setLogName

public void setLogName(java.lang.String in_name)
Specified by:
setLogName in interface IntegrateErrorHandler
Parameters:
in_name -

getMessages

public java.util.Set getMessages()

countFileRelativeErrors

public int countFileRelativeErrors()

countProcessRelativeErrors

public int countProcessRelativeErrors()

validateError

public void validateError(org.apache.xerces.dom3.DOMError in_error,
                          org.w3c.dom.Document in_document,
                          int in_lineNumber)
                   throws org.xml.sax.SAXException
Specified by:
validateError in interface IntegrateErrorHandler
Parameters:
in_error -
in_document -
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(java.lang.Throwable in_exception,
                       org.w3c.dom.Document in_document,
                       int in_lineNumber)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface IntegrateErrorHandler
Parameters:
in_exception -
in_document -
Throws:
org.xml.sax.SAXException

saveError

public void saveError(EnterpriseContextException in_exception,
                      org.w3c.dom.Document in_document,
                      java.lang.Object in_obj,
                      int in_lineNumber)
               throws org.xml.sax.SAXException
Specified by:
saveError in interface IntegrateErrorHandler
Parameters:
in_exception -
in_document -
Throws:
org.xml.sax.SAXException

decodeError

public void decodeError(DecodeException in_exception,
                        org.w3c.dom.Document in_document,
                        int in_lineNumber)
                 throws org.xml.sax.SAXException
Specified by:
decodeError in interface IntegrateErrorHandler
Parameters:
in_exception -
in_document -
Throws:
org.xml.sax.SAXException

integrateError

public void integrateError(IntegrateException in_exception,
                           org.w3c.dom.Document in_document,
                           int in_lineNumber)
                    throws org.xml.sax.SAXException
Specified by:
integrateError in interface IntegrateErrorHandler
Parameters:
in_exception -
in_document -
Throws:
org.xml.sax.SAXException

continueAfterDecodeException

public boolean continueAfterDecodeException(DecodeException in_exception)
Specified by:
continueAfterDecodeException in interface IntegrateErrorHandler
Parameters:
in_exception -
See Also:
IntegrateErrorHandler.continueAfterDecodeException(fr.improve.xdi.DecodeException)


Copyright © 2004-2005 Improve. All Rights Reserved.