ch.elca.el4j.tests.services.exceptionhandler
Class LogExceptonHandler

java.lang.Object
  extended by ch.elca.el4j.services.exceptionhandler.handler.AbstractExceptionHandler
      extended by ch.elca.el4j.services.exceptionhandler.handler.SimpleLogExceptionHandler
          extended by ch.elca.el4j.tests.services.exceptionhandler.LogExceptonHandler
All Implemented Interfaces:
ExceptionHandler

public class LogExceptonHandler
extends SimpleLogExceptionHandler

Simple log exception handler used in the context handler tests.

Author:
Andreas Bur (ABU)
File-location:
LogExceptonHandler
Last check-in date:
2009-08-04 15:17:52 +0200 (Di, 04. Aug 2009) by swismer for revision 3880

Field Summary
static int s_numberOfHandleCalls
          Number of handle calls.
 
Constructor Summary
LogExceptonHandler()
           
 
Method Summary
protected  Object handleException(Throwable t, AbstractExceptionHandlerInterceptor exceptionInvoker, org.aopalliance.intercept.MethodInvocation invocation, org.slf4j.Logger logger)
          
 
Methods inherited from class ch.elca.el4j.services.exceptionhandler.handler.AbstractExceptionHandler
getInvocationDescription, handleException, setUseDynamicLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_numberOfHandleCalls

public static int s_numberOfHandleCalls
Number of handle calls.

Constructor Detail

LogExceptonHandler

public LogExceptonHandler()
Method Detail

handleException

protected Object handleException(Throwable t,
                                 AbstractExceptionHandlerInterceptor exceptionInvoker,
                                 org.aopalliance.intercept.MethodInvocation invocation,
                                 org.slf4j.Logger logger)
                          throws Throwable

Overrides:
handleException in class SimpleLogExceptionHandler
Throws:
Throwable


Copyright © 2005-2011 ELCA. All Rights Reserved.