ch.elca.el4j.tests.services.exceptionhandler
Class MessageBoxExceptionHandler
java.lang.Object
ch.elca.el4j.services.exceptionhandler.handler.AbstractExceptionHandler
ch.elca.el4j.tests.services.exceptionhandler.MessageBoxExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
public class MessageBoxExceptionHandler
- extends AbstractExceptionHandler
This simple exception handler logs exception messages in a dialogue,
printed to the standard out.
- Author:
- Andreas Bur (ABU)
- File-location:
- MessageBoxExceptionHandler
- Last check-in date:
- 2009-08-04 15:17:52 +0200 (Di, 04. Aug 2009) by swismer for revision 3880
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_logger
private static org.slf4j.Logger s_logger
- Logger.
s_numberOfHandleCalls
public static int s_numberOfHandleCalls
- Number of handle calls.
MessageBoxExceptionHandler
public MessageBoxExceptionHandler()
handleException
protected Object handleException(Throwable t,
AbstractExceptionHandlerInterceptor exceptionInvoker,
org.aopalliance.intercept.MethodInvocation invocation,
org.slf4j.Logger logger)
throws Throwable
-
- Specified by:
handleException in class AbstractExceptionHandler
- Throws:
Throwable
drawLine
private void drawLine(int length,
StringBuffer buffer)
- Draws a line consisting of hyphens.
- Parameters:
length - The number of hyphens to print.buffer - The buffer to write the hyphens to.
Copyright © 2005-2011 ELCA. All Rights Reserved.