org.apache.pluto.portlet.admin.services
Class PortletConfigService.MyErrorHandler

java.lang.Object
  extended by org.apache.pluto.portlet.admin.services.PortletConfigService.MyErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler
Enclosing class:
PortletConfigService

private static class PortletConfigService.MyErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Inner class that handles errors

Author:
Ken Atherton

Field Summary
private static java.lang.String INNER_CLASS_NAME
           
(package private)  java.io.PrintWriter out
           
 
Constructor Summary
PortletConfigService.MyErrorHandler(java.io.PrintWriter p_out)
           
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
private  java.lang.String getParseExceptionInfo(org.xml.sax.SAXParseException e)
           
 void warning(org.xml.sax.SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INNER_CLASS_NAME

private static final java.lang.String INNER_CLASS_NAME
See Also:
Constant Field Values

out

java.io.PrintWriter out
Constructor Detail

PortletConfigService.MyErrorHandler

PortletConfigService.MyErrorHandler(java.io.PrintWriter p_out)
Method Detail

getParseExceptionInfo

private java.lang.String getParseExceptionInfo(org.xml.sax.SAXParseException e)

warning

public void warning(org.xml.sax.SAXParseException e)
             throws org.xml.sax.SAXException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException e)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException