org.apache.commons.chain.impl
public class: ExceptionCommand [javadoc |
source]
java.lang.Object
org.apache.commons.chain.impl.NonDelegatingCommand
org.apache.commons.chain.impl.ExceptionCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
ExceptionFilter
Implementation of Command that logs its identifier and
and throws an Exception.
- author:
Craig - R. McClanahan
- version:
$ - Revision: 155403 $ $Date: 2005-02-26 12:52:46 +0000 (Sat, 26 Feb 2005) $
| Method from org.apache.commons.chain.impl.ExceptionCommand Summary: |
|---|
|
execute |
| Method from org.apache.commons.chain.impl.ExceptionCommand Detail: |
public void execute(Context context,
Chain chain) throws Exception {
super.execute(context);
throw new ArithmeticException(this.id);
}
|