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.java 30941 2004-07-29 19:56:58Z vgritsenko $
- 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
- Returns:
- a succinct but useful message describing the
problem and which element name we couldn't handle.
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.