function my_ssexception_handler($exception) { echo "@Exception:" . $exception->getMessage(); fgResponse::send_exception($exception); }