/** * Set exception / error handlers * * @return void */ public static function setExceptionHandlers() { set_exception_handler(array('XDT_CLI_ExceptionHandler', 'handleException')); set_error_handler(array('XDT_CLI_ExceptionHandler', 'handleError')); XDT_CLI_Abstract::$_useExceptions = true; XDT_CLI_Abstract::$_exceptionClass = 'XDT_CLI_Exception'; }