Problem with, Try , Catch
| From: | Dmitri Russu | Date: | Tue, 24 Sep 2013 15:31:58 +0000 |
| Subject: | Problem with, Try , Catch | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16733@lists.php.net to get a copy of this message | ||
Hello I has a question if is possible to use below code, I try do it and
have lot of errors.
Help me to understand, which is my error.
*try {
throw new InternalException('Internal');
} catch (InternalException $e) {
throw new Exception('Internal To global');
} catch (Exception $e){
*
*
*
* print $e->getMessage();
}
class InternalException extends Exception {
}
*