E. S.
created
LOGBACK-775
Smart search for exception cause
Issue Type:
Improvement
Assignee:
Logback dev list
Components:
logback-classic
Created:
11/Dec/12 7:01 PM
Description:
There are some classes of exceptions which have their own stack of causes which can't be accessed via the getCause() method. For example, for SQLException one should call the getNextException() method instead.But Logback uses only getCause() method (see
https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/spi/ThrowableProxy.java#l58)
.
It would be nice to use special methods for such exceptions, like Apache's ExceptionUtils does (see
http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/exception/ExceptionUtils.html)
.
Project:
logback
Labels:
logging
Priority:
Major
Reporter:
E. S.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your
JIRA administrators
.
For more information on JIRA, see:
http://www.atlassian.com/software/jira