org.apache.cocoon.components.elementprocessor
Class CannotCreateElementProcessorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException
- All Implemented Interfaces:
- Serializable
public class CannotCreateElementProcessorException
- extends Exception
Exception to be thrown when an ElementProcessor cannot be created.
- Version:
- CVS $Id: CannotCreateElementProcessorException.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com)
- See Also:
- Serialized Form
CannotCreateElementProcessorException
public CannotCreateElementProcessorException(String reason)
- Constructor
- Parameters:
reason
- a simple explanation why the specified
ElementProcessor could not be created.
setElementName
public void setElementName(String name)
getMessage
public String getMessage()
- override of Throwable's getMessage; allows us to format it
with the element name
- Overrides:
getMessage
in class Throwable
- Returns:
- a succinct but useful message describing the
problem and which element name we couldn't handle.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.