Added more diagnostics so that I have some idea of what a 'general' exception

is.  Required to fix bug ZjhCJAdwhtFq1x54ZlmlN8pFNcbrRpdJ and similar.  We
might want to change this particular case to a ReviewedStingException after
we gain a bit more experience with it.


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4333 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2010-09-22 21:32:01 +00:00
parent 44ccfc3531
commit 7841b301c4
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class DynamicClassResolutionException extends UserException {
} catch (InvocationTargetException e) {
return "Cannot instantiate class (Invocation failure)";
} catch ( Exception e ) {
return "A general exception occurred";
return String.format("an exception of type %s occurred",e.getClass().getSimpleName());
}
}
}