处理内部类抛出的异常
private static Throwable getTargetException(Throwable catchedException) { Throwable targetException = null; if (catchedException != null) { targetException = DWExceptionUtils.getDWException(catchedException); if (targetException == null) { targetException = ExceptionUtils.getRootCause(catchedException); } } return targetException == null ? catchedException : targetException; }