org.fcrepo.server.security
Class PolicyParser.ThrowAllErrorHandler

java.lang.Object
  extended by org.fcrepo.server.security.PolicyParser.ThrowAllErrorHandler
All Implemented Interfaces:
ErrorHandler
Enclosing class:
PolicyParser

public static class PolicyParser.ThrowAllErrorHandler
extends Object
implements ErrorHandler

This class is a workaround to some shift in the behavior of anonymous inner classes


Constructor Summary
PolicyParser.ThrowAllErrorHandler()
           
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 void warning(SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyParser.ThrowAllErrorHandler

public PolicyParser.ThrowAllErrorHandler()
Method Detail

error

public void error(SAXParseException e)
           throws SAXParseException
Specified by:
error in interface ErrorHandler
Throws:
SAXParseException

fatalError

public void fatalError(SAXParseException e)
                throws SAXParseException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXParseException

warning

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


Copyright © 2011 DuraSpace. All Rights Reserved.