This is a pure Java question:
Normally when your throw an Exception you need to declare it in the method header.
Example:
public void setTest() throws MyException
{
throw new MyException("throwing my exception");
}
How come your can throw a JboException in an ADF model class method without having to declare it the method header?
Example:
public void setDeptNo(Number value)
{
if (value != null && value.intValue() < 0)
{
throw new JboException("throwing exception without declaring");
}
...
}
Thanks for enlightening my java knowledge.
Fred