Re: [chain] Changing from Exception to RuntimeException

2012-03-04 Thread Elijah Zupancic
I've uploaded the patch into the following Jira ticket: https://issues.apache.org/jira/browse/CHAIN-67 Please have a look and tell me what you think. Thanks, -Elijah On Sun, Mar 4, 2012 at 5:18 AM, Simone Tripodi wrote: > I agree with your thoughts Elijah, when an exception is thrown nothing >

Re: [chain] Changing from Exception to RuntimeException

2012-03-04 Thread Simone Tripodi
I agree with your thoughts Elijah, when an exception is thrown nothing can be done in the chain to rescue the error. looking forward next patch! best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On

Re: [chain] Changing from Exception to RuntimeException

2012-03-03 Thread James Carman
I hate checked exceptions. +1 On Sat, Mar 3, 2012 at 11:07 PM, Elijah Zupancic wrote: > As I've been working on the examples and the documentation for v2 of > chain, I've noticed that the API for exception handling of Command and > Chain is clunky. > > When executing a command like: > >        P

[chain] Changing from Exception to RuntimeException

2012-03-03 Thread Elijah Zupancic
As I've been working on the examples and the documentation for v2 of chain, I've noticed that the API for exception handling of Command and Chain is clunky. When executing a command like: ProfileContext context = new ProfileContext(); Command command = new ProfileCheck();