|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.AbstractLogEnabled org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper
Helps to call error handlers from PipelineNode and PipelinesNode.
Field Summary | |
protected Log |
handledErrorsLogger
Logger for handled errors |
Constructor Summary | |
ErrorHandlerHelper()
|
Method Summary | |
boolean |
invokeErrorHandler(Exception ex,
org.apache.cocoon.environment.Environment env,
InvokeContext context)
Handle error. |
boolean |
isEmpty()
|
boolean |
isExternal()
|
boolean |
isInternal()
|
org.apache.cocoon.Processor.InternalPipelineDescription |
prepareErrorHandler(Exception ex,
org.apache.cocoon.environment.Environment env,
InvokeContext context)
Prepare error handler for the internal pipeline error handling. |
void |
service(ServiceManager manager)
The component manager is used to create notifying builders. |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Log handledErrorsLogger
Constructor Detail |
public ErrorHandlerHelper()
Method Detail |
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public boolean isEmpty()
public boolean isInternal()
public boolean isExternal()
public boolean invokeErrorHandler(Exception ex, org.apache.cocoon.environment.Environment env, InvokeContext context) throws Exception
Exception
public org.apache.cocoon.Processor.InternalPipelineDescription prepareErrorHandler(Exception ex, org.apache.cocoon.environment.Environment env, InvokeContext context) throws Exception
If building pipeline only, error handling pipeline will be built and returned. If building and executing pipeline, error handling pipeline will be built and executed.
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |