Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 2
    Error still extends Throwable so no way to prevent catching it. That is by design of the Java language. Commented Dec 15, 2012 at 18:22
  • 1
    @JasonM1 I don't think the OP asked for an actually "uncatchable" exception, and I meant that Error propagates even if you catch it. So, any Throwable is catchable but these two will eventually propagate no matter what you do Commented Dec 15, 2012 at 18:36
  • To be tricky ChuckNorrisException could extend Throwable directly then it would be neither Exception nor Error! Commented Dec 15, 2012 at 19:01
  • 4
    Error does not propagate even if you catch it, i'm not sure where you got that idea. Commented Dec 17, 2012 at 13:12
  • 3
    I think you are well confused about Erros, they are normal exceptions like everything that extends Throwable or even Throwable, itself. Commented Dec 21, 2012 at 10:30