5 Replies Latest reply: Jun 23, 2009 7:25 PM by 796447 RSS

    Enum Exception Error

      I created a class that contains several enums. Each enum has a few methods that contain as part of the method signature 'throws Exception'.

      For some reason when I save the class using eclipse 3.2, it displays that I have 12 errors an error on line 1 that reads "Unhandled exception type Exception" -- The code runs fine without any errors even when it uses that class. Is this an eclipse issue or a java issue? Is an enum allowed to throw an Exception?