*/ /** * Application exception. * * Application exceptions are thrown when something isn't set up correctly * within an application. This is usually a programming error. * */ class AP5L_ApplicationException extends AP5L_Exception { /** * Default factory method */ static function &factory($message = '', $code = 0, $details = array()) { $e = new AP5L_ApplicationException($message, $code); $e -> details = $details; return $e; } }