/**
  * 
  * @param message
  * @param code
  * @param previous
  */
 public function __construct($message = null, $code = null, $previous = null)
 {
     if (!isset($message) || !strlen($message)) {
         $message = "The method has not implemented...";
     }
     parent::__construct($message, $code, $previous);
 }
Esempio n. 2
0
 public function __construct($message = null, $code = null, $previous = null)
 {
     if (!isset($message) || !strlen($message)) {
         $message = "Security error";
     }
     parent::__construct($message, $code, $previous);
 }
 /**
  * 
  * @param message
  * @param code
  * @param previous
  */
 function __construct($message = null, $code = null, $previous = null)
 {
     parent::__construct(isset($message) && strlen($message) ? $message : "Invalide Operation.", $code, $previous);
 }
Esempio n. 4
0
 /**
  * 
  * @param message
  * @param code
  * @param previous
  */
 public function __construct($message = null, $code = null, $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->createException($message ? $message : '<b>#' . mysql_errno() . '</b> - ' . mysql_error());
 }
Esempio n. 5
0
 /**
  * 
  * @param message
  * @param code
  * @param previous
  */
 function __construct($message = null, $code = null, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }