Re: Throw an exception if the configure method fails

2009-03-05 Thread Aaron Kimball
Try throwing RuntimeException, or any other unchecked exception (e.g., any descendant classes of RuntimeException) - Aaron On Thu, Mar 5, 2009 at 4:24 PM, Saptarshi Guha wrote: > hello, > I'm not that comfortable with java, so here is my question. In the > MapReduceBase class, i have implemented

Throw an exception if the configure method fails

2009-03-05 Thread Saptarshi Guha
hello, I'm not that comfortable with java, so here is my question. In the MapReduceBase class, i have implemented the configure method, which does not throw an exception. Suppose I detect an error in some options, i wish to raise an exception(in the configure method) - is there a way to do that? Is