java.lang.Error: Unresolved compilation problem: Unreachable catch block for IllegalAccessException. This exception is never thrown from the try statement body

Coderanch | jose chiramal | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception Handling

    Coderanch | 7 years ago | jose chiramal
    java.lang.Error: Unresolved compilation problem: Unreachable catch block for IllegalAccessException. This exception is never thrown from the try statement body

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: Unreachable catch block for IllegalAccessException. This exception is never thrown from the try statement body

      at ThrowsDemo1.main()
    2. Unknown
      ThrowsDemo1.main
      1. ThrowsDemo1.main(ThrowsDemo1.java:20)
      1 frame