/**
  * Constructor
  * 
  * @param string $message
  * @param optional integer $code
  * @return void
  * @access public
  * @since 9/5/07
  */
 public function __construct($message = '', $code = 0)
 {
     parent::__construct('UNKNOWN ACTION: ' . $message, $code);
 }
 /**
  * Constructor
  * 
  * @param string $message
  * @param optional integer $code
  * @return void
  * @access public
  * @since 9/5/07
  */
 public function __construct($message = '', $code = 0)
 {
     parent::__construct('NO_MORE_ITERATOR_ELEMENTS: ' . $message, $code);
 }
示例#3
0
 /**
  * The constructor. Create a new error.
  * @param string $description A description of the error.
  * @param string $type The type of error. For sorting purposes. ie.: "user", "db", etc.
  * @param boolean $isFatal True if the error should halt execution.
  * @access public
  */
 function __construct($description, $type = "", $isFatal = true)
 {
     parent::__construct($description, 0, $type, $isFatal);
 }