hirondelle.fish.webmaster.testfailure
Class ForceFailure
Object
hirondelle.fish.webmaster.testfailure.ForceFailure
- All Implemented Interfaces:
- Action
public final class ForceFailure
- extends Object
- implements Action
Deliberately throw a RuntimeException
, to test behavior upon failure.
The webmaster configured in web.xml should receive a TroubleTicket
email.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForceFailure
public ForceFailure(RequestParser aRequestParser)
- Constructor.
execute
public ResponsePage execute()
throws AppException
- This method deliberately fails.
- Specified by:
execute
in interface Action
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26