I am using dbUnit. When it fails it throws
junit.framework.AssertionFailedError. I put dbUnit task in
try, but it never gets into catch block. I assumes that
this is because the Throwable is not an Exception but
Logged In: YES
This task is designed to catch BuildException instances. If
your code throws some other type of error it will not be
caught. The task you are using should be catching this and
wrapping it in a BuildException.
Things like Error and RuntimeException are unrecoverable
anyway, so i don't see much point in adding support for
catching them anyway, but if necessary, i could always do
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.