-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keep matching exception to found errorpage #9090
keep matching exception to found errorpage #9090
Conversation
55ca383
to
d8ba0d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than a name niggle OK
* @return the first non {@link ServletException} from root cause chain | ||
*/ | ||
private Throwable getFirstNonServletException(Throwable t) | ||
private Throwable getFirstNonServletException(Throwable t, Class<?> matchedThrowable) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name is not correct now. How about:
private Throwable getFirstNonServletException(Throwable t, Class<?> matchedThrowable) | |
private Throwable unwrapServletException(Throwable t, Class<?> matchedThrowable) |
private Throwable getFirstNonServletException(Throwable t, Class<?> matchedThrowable) | |
private Throwable getFirstNonServletException(Throwable t, Class<?> matchedThrowable) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea!
done in 3643858
…rror page found Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Olivier Lamy <[email protected]>
d8ba0d9
to
3643858
Compare
fix TCK test
com.sun.ts.tests.servlet.spec.errorpage1.URLClient#servletExceptionTest