org.openexi.scomp
Interface EXISchemaFactoryErrorHandler


public interface EXISchemaFactoryErrorHandler

This interface reports exceptions from EXISchemaFactory during schema processing. Users of EXISchemaFactory need to provide an implementation of this interface to receive errors from EXISchemaFactory.

Author:
Dennis Dawson

Method Summary
 void error(EXISchemaFactoryException exc)
          Report an error found during schema processing.
 void fatalError(EXISchemaFactoryException exc)
          Report a fatal error found during schema processing.
 void warning(EXISchemaFactoryException exc)
          Report a warning found during schema processing.
 

Method Detail

warning

void warning(EXISchemaFactoryException exc)
             throws EXISchemaFactoryException
Report a warning found during schema processing.

Parameters:
exc - warning found
Throws:
EXISchemaFactoryException - at the discretion of the application

error

void error(EXISchemaFactoryException exc)
           throws EXISchemaFactoryException
Report an error found during schema processing. Note that errors are recoverable only as far as the schema processor is concerned. They might be fatal at the application level.

Parameters:
exc - error found
Throws:
EXISchemaFactoryException - at the discretion of the application

fatalError

void fatalError(EXISchemaFactoryException exc)
                throws EXISchemaFactoryException
Report a fatal error found during schema processing.

Parameters:
exc - fatal error found
Throws:
EXISchemaFactoryException - at the discretion of the application