Source for file Interface_Exception.php

Documentation is available at Interface_Exception.php

  1. <?php
  2. /**
  3.  *    LAIKA FRAMEWORK Release Notes:
  4.  *
  5.  *    @filesource     Interface_Exception.php
  6.  *
  7.  *    @version        0.1.0b
  8.  *    @package        Laika
  9.  *    @subpackage     core
  10.  *    @category       interface
  11.  *    @date           2011-05-22 08:52:15 -0400 (Sun, 22 May 2011)
  12.  *
  13.  *    @author         Leonard M. Witzel <witzel@post.harvard.edu>
  14.  *    @copyright      Copyright (c) 2011  Laika Soft <{@link http://oafbot.com}>
  15.  *
  16.  */
  17. /**
  18.  * Laika_Interface_Exception interface.
  19.  * 
  20.  * @interface
  21.  */
  22.  
  23. //-------------------------------------------------------------------
  24. //    CONSTRUCTOR
  25. //-------------------------------------------------------------------
  26.     /**
  27.      * __construct function.
  28.      * 
  29.      * Overrideable constructor method inherited from Exception class
  30.      *
  31.      * @access public
  32.      * @param mixed $message (default: null)
  33.      * @param int $code (default: 0)
  34.      * @return void 
  35.      */
  36.     public function __construct($message null$code 0);
  37.  
  38. //-------------------------------------------------------------------
  39. //    METHODS
  40. //-------------------------------------------------------------------
  41.     /**
  42.      * __toString function.
  43.      *
  44.      * Overrideable toString method inherited from Exception class
  45.      * 
  46.      * @access public
  47.      * @return void 
  48.      */
  49.     public function __toString();
  50.     
  51.     /* Protected methods inherited from Exception class */
  52.     public function getMessage();                 // Exception message
  53.     public function getCode();                    // User-defined Exception code
  54.     public function getFile();                    // Source filename
  55.     public function getLine();                    // Source line
  56.     public function getTrace();                   // An array of the backtrace()
  57.     public function getTraceAsString();           // Formated string of trace
  58.     
  59. }

Documentation generated on Sat, 19 May 2012 02:17:01 -0400 by phpDocumentor 1.4.4