XStream
  1. XStream
  2. XSTR-551

XStream still throws deprecated XStream.InitializationException

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: Core
    • Labels:
      None

      Description

      In revision 1280 XStream.InitializingException got replaced with a top level class:

      http://svn.xstream.codehaus.org/browse/xstream/trunk/xstream/src/java/com/thoughtworks/xstream/XStream.java?r1=1276&r2=1280

      But XStream still throws the deprecated XStream.InitializingException. This makes it impossible to catch the advertised new exception, client code still has to catch XStream.InitializationException.

      Proposed fix: throw the top level InitializingException on all occurrences in class XStream or let XStream.InitializingException extend InitializingException.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Sven Meier
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: