function __construct($msg = null) { $msg = !empty($msg) ? $msg : "The string can't empty."; parent::__construct($msg); }
function __construct($msg = null) { parent::__construct($msg); }
function __construct($msg = null, $filename = null) { $msg = !empty($msg) ? $msg : "The specified file {$filename} is not found!"; parent::__construct($msg); }