za.org.coefficient.interceptors
Class ExceptionInterceptor

java.lang.Object
  extended by za.org.coefficient.core.CoefficientInterceptor
      extended by za.org.coefficient.interceptors.ExceptionInterceptor

public class ExceptionInterceptor
extends CoefficientInterceptor

Version:
$Revision: 1.6 $ $Date: 2004/11/09 13:52:11 $
Author:
Dylan Etkin

Field Summary
static java.lang.String LAST_UNHANDLED_EXCEPTION
           
 
Fields inherited from class za.org.coefficient.core.CoefficientInterceptor
ABORT_INTERCEPTOR_PREFIX, INVOKE_ABORT_GLOBAL, INVOKE_ABORT_LOCAL, INVOKE_PROCESS_CHILD, INVOKE_PROCESS_DONE, INVOKE_SKIP_NEXT
 
Constructor Summary
ExceptionInterceptor()
           
 
Method Summary
 int invoke(CoefficientContext ctx)
           
private  void setErrorForException(CoefficientContext ctx, java.lang.Exception e, java.lang.Throwable t)
           
 
Methods inherited from class za.org.coefficient.core.CoefficientInterceptor
abortNamedInterceptor, append, getSibling, handleInvoke, handlePostInvoke, last, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAST_UNHANDLED_EXCEPTION

public static final java.lang.String LAST_UNHANDLED_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

ExceptionInterceptor

public ExceptionInterceptor()
Method Detail

invoke

public int invoke(CoefficientContext ctx)
           throws java.lang.Exception
Overrides:
invoke in class CoefficientInterceptor
Throws:
java.lang.Exception

setErrorForException

private void setErrorForException(CoefficientContext ctx,
                                  java.lang.Exception e,
                                  java.lang.Throwable t)


Copyright CSIR. All Rights Reserved.