Skip to content
  1. Jun 13, 2011
  2. Jun 12, 2011
    • Joern Huxhorn's avatar
      Adding support for Throwable.getSuppressed(). · 1bb29a60
      Joern Huxhorn authored
      See http://www.oracle.com/technetwork/articles/java/trywithresources-401775.html
      
      - Removed superfluous public from methods in IThrowableProxy interface and added method IThrowableProxy[] getSuppressed().
      - Serialized ThrowableProxyVO will be incompatible since suppressed has been added. Consequently, the respective serialVersionUID has been changed.
      - ThrowableProxyVO.equals is now also checking suppressed.
      - ThrowableProxy is now evaluating suppressed Throwables of its c'tor argument if the Throwable class has a getSuppressed() method, i.e. in case of Java SE 7 and upwards.
      
      This patch is merely adding support of suppressed exceptions to the creation of LoggingEvent/IThrowableProxy. Further support should be added to the following classes:
      
      - ch.qos.logback.classic.db.DBAppender
      - ch.qos.logback.classic.html.DefaultThrowableRenderer
      - ch.qos.logback.classic.net.SyslogAppender
      - ch.qos.logback.classic.pattern.ThrowableProxyConverter
      - ch.qos.logback.classic.spi.ThrowableProxyUtil
        - method asString
      - ch.qos.logback.classic.spi.PackagingDataCalculator
        - method calculate(IThrowableProxy tp) may also need to take suppressed into account.
      1bb29a60
  3. Jun 09, 2011
  4. Jun 08, 2011
  5. Jun 01, 2011
  6. May 30, 2011
  7. May 25, 2011
  8. Mar 29, 2011
  9. Mar 28, 2011
  10. Mar 18, 2011
  11. Mar 17, 2011
  12. Mar 15, 2011
  13. Mar 11, 2011
  14. Mar 09, 2011
  15. Mar 08, 2011
  16. Mar 07, 2011
  17. Mar 01, 2011
  18. Feb 26, 2011