FANDOM



La classe Exception et ses sous-classes sont une forme de throwable qui indique les conditions qu'une application raisonnable devrait attraper (catch). La classe Exception et n'importe quelle de ses sous-classes qui n'hérite pas de RuntimeException sont des exceptions vérifiées.

The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch. The class Exception and any subclasses that are not also subclasses of RuntimeException are checked exceptions. Checked exceptions need to be declared in a method or constructor's throws clause if they can be thrown by the execution of the method or constructor and propagate outside the method or constructor boundary.