note 95060 modified in class.exception by thiago

From: Date: Fri, 11 Dec 2009 14:14:06 +0000
Subject: note 95060 modified in class.exception by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163856@lists.php.net to get a copy of this message
To generate an exception use: <?php Throw new Exception("Message to display"); ?> By default it will be shown to the user. Use Try...catch to handle it. --was-- To generate an exception use: Throw new Exception("Message to display"); By default it will be shown to the user. Use Try...catch to handle it. http://php.net/manual/en/class.exception.php

« previous php.notes (#163856) next »