com.goldenhammer.correctness
Class LoggingExceptionHandler

java.lang.Object
  extended bycom.goldenhammer.correctness.LoggingExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class LoggingExceptionHandler
extends java.lang.Object
implements ExceptionHandler

This exception handler will log exceptions.


Constructor Summary
LoggingExceptionHandler(java.lang.String name)
          Creates a new exception handler with the specified logger.
 
Method Summary
 void handle(java.lang.Exception e)
          Handles the given exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingExceptionHandler

public LoggingExceptionHandler(java.lang.String name)
Creates a new exception handler with the specified logger.

Parameters:
name - The name of the logger to use.
Method Detail

handle

public void handle(java.lang.Exception e)
Description copied from interface: ExceptionHandler
Handles the given exception.

Specified by:
handle in interface ExceptionHandler
Parameters:
e - The exception to handle.
See Also:
ExceptionHandler.handle(java.lang.Exception)