org.jomc.model
Class ModelExceptionErrorHandler

Package class diagram package ModelExceptionErrorHandler
java.lang.Object
  extended by org.jomc.model.ModelExceptionErrorHandler
All Implemented Interfaces:
ErrorHandler

final class ModelExceptionErrorHandler
extends Object
implements ErrorHandler

ErrorHander collecting ModelException.Details.

Version:
$Id: ModelExceptionErrorHandler.java 573 2009-09-25 16:05:05Z schulte2005 $
Author:
Christian Schulte
See Also:
getDetails()

Field Summary
private  List<ModelException.Detail> details
          The details of the instance.
 
Constructor Summary
ModelExceptionErrorHandler()
          Creates a new ModelExceptionErrorHandler instance.
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 List<ModelException.Detail> getDetails()
          Gets the details of the instance.
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

details

private final List<ModelException.Detail> details
The details of the instance.

Constructor Detail

ModelExceptionErrorHandler

ModelExceptionErrorHandler()
Creates a new ModelExceptionErrorHandler instance.

Method Detail

getDetails

public List<ModelException.Detail> getDetails()
Gets the details of the instance.

Returns:
The details of the instance.

warning

public void warning(SAXParseException exception)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException

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


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.