MediaSearch
[ class tree: MediaSearch ] [ index: MediaSearch ] [ all elements ]

Source for file Exception.php

Documentation is available at Exception.php

  1. <?
  2. /**
  3.  * MediaSearch
  4.  *
  5.  * LICENSE
  6.  *
  7.  * "THE BEER-WARE LICENSE" (Revision 42):
  8.  * "Sven Strittmatter" <ausserirdisch@sven-space.de> wrote this file.
  9.  * As long as you retain this notice you can do whatever you want with
  10.  * this stuff. If we meet some day, and you think this stuff is worth it,
  11.  * you can buy me a beer in return.
  12.  *
  13.  * $Author$
  14.  * $Revision$
  15.  *
  16.  * @category    MediaSearch
  17.  * @package     MediaSearch
  18.  * @copyright   Copyright (c) 2009 Sven Strittmatter
  19.  */
  20.  
  21. /**
  22.  * Project wide base exception class.
  23.  *
  24.  * @category   MediaSearch
  25.  * @package    MediaSearch
  26.  * @copyright  Copyright (c) 2009 Sven Strittmatter
  27.  */
  28. class MediaSearch_Exception extends Exception {
  29.     const UNKNOWN = 0;
  30.  
  31.     /**
  32.      * Set the default code to MediaSearch_Exception::UNKNOWN.
  33.      * @access public
  34.      * @param string $message 
  35.      * @param int $code 
  36.      */
  37.     public function __construct($message$code MediaSearch_Exception::UNKNOWN{
  38.         parent::__construct($message$code);
  39.     }
  40. }

Documentation generated on Mon, 17 Aug 2009 14:52:23 +0200 by phpDocumentor 1.4.2