Re: Handling exception question




Paul Czubilinski wrote:
class MyException extends Exception {}

Since MyException extends Exception, MyException _is_ an Exception.
Therefore, catch (Exception $e) will catch it.

.