Added ExceptionUtils for getThrowableList

This commit is contained in:
raychatter
2013-01-16 17:20:05 -08:00
parent 65640be661
commit bca69232cb
2 changed files with 9 additions and 2 deletions

View File

@@ -34,6 +34,8 @@ public class AnnotationHandler implements HandlerExceptionResolver {
final Exception handledException = getHandledException(thrownException);
final ExceptionHandler annotation = getAnnotationFrom(handledException);
final Exception messageException = getMessageException(thrownException, handledException);
// final StackTraceElement[] testStacktrace = handledException.getStackTrace();
// final List<Throwable> throwableList = ExceptionUtils.getThrowableList(thrownException);
try {
if (annotation == null) {