Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.0
-
None
Description
If you have
<onException> <handled> <constant>true</constant> </handled> <to uri="mock:error"/> </onException>
That should validate that an exception class has specified. As it should be.
<onException> <exception>java.lang.Exception</exception> <handled> <constant>true</constant> </handled> <to uri="mock:error"/> </onException>
The Java DSL also requires at least 1 exception class defined.