Not all exception types work with initializers

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: tools
    • generic
    • solaris_2.5.1

      This code fails to compile:

         class B {
             B () throws Exception {
             }
       
             { throw new Exception(); }
         }

      It appears to work ok for type Error, however.

            Assignee:
            William Maddox (Inactive)
            Reporter:
            David Stoutamire (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: