org.wings.session
Class DefaultExceptionHandler

java.lang.Object
  extended by org.wings.session.DefaultExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class DefaultExceptionHandler
extends Object
implements ExceptionHandler

This implementation queries a property wings.error.template for a resource name relative to the webapp of a wingS template. In this template, placeholders must be defined for wingS components named EXCEPTION_STACK_TRACE, EXCEPTION_MESSAGE and WINGS_VERSION.


Constructor Summary
DefaultExceptionHandler()
           
 
Method Summary
 void handle(Device device, Throwable thrown)
           
 
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(Device device,
                   Throwable thrown)
Specified by:
handle in interface ExceptionHandler


wingS Swings ;-)