com.goldenhammer.correctness
Class DefaultExceptionHandler

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

public class DefaultExceptionHandler
extends java.lang.Object
implements ExceptionHandler

This is the default handler for exceptions. It simply prints the message and stack trace.


Constructor Summary
DefaultExceptionHandler()
           
 
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

DefaultExceptionHandler

public DefaultExceptionHandler()
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)