반응형
Exception
-
Checked Exception vs Unchecked ExceptionJava & Spring/자바 2021. 2. 28. 22:24
Exception과 Error An exception is represented by an instance of the class Throwable (a direct subclass of Object) or one of its subclasses. Throwable and all its subclasses are, collectively, the exception classes. (subclass of Throwable must not be generic) The classes Exception and Error are direct subclasses of Throwable. Exception is the superclass of all the exceptions from which ordinary pr..