PrimitiveType

PHP: try catch block

<?php try { // do something } catch (Exception $ex) { // handle Exception } // As of PHP 5.5 try { // do something } catch (Exception $ex) { // handle Exception } finally { // always do this }