DECLARED and the wrong expression are compile-time ERRORS, therefore, they are not exceptions. DIVIDE by zero is the PROBLEM that is encountered during run-time, therefore, it is an EXCEPTION.