try {
// Some code here
} catch (Blog\Exception $error ) {
// Some code 1
} catch (Cart\Exception $error ) {
// Some code 2
} catch (Goods\Exception $error ) {
// Some code 4
} catch (\Exception $error ) {
// Something went wrong :((
}
<VirtualHost *:80>
ServerName moda.worlex.ru
ServerAdmin admin@worlex.ru
DocumentRoot /var/www/moda-full/projects/face/htdocs
AddDefaultCharset UTF-8
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
DirectoryIndex index.php index.html
<Directory /var/www/moda-full/projects/face/htdocs/>
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
throw new Exeption("Message ".__FILE__.__LINE__ );