コード例 #1
0
 /**
  * Constructs the exception.
  *         
  * @param  $message         Message
  * @param  $previous        Previous exception. 
  */
 public function __construct($message = "Error mapping error: Error map code missing.")
 {
     parent::__construct(-1, $previous);
     $this->message = $message;
 }
コード例 #2
0
 /**
  * Constructs the exception.
  *         
  * @param  $message         Message
  * @param  $previous        Previous exception. 
  */
 public function __construct($message = "Error mapping error: Error map file bad formated")
 {
     parent::__construct(-1, $previous);
     $this->message = $message;
 }
コード例 #3
0
 /**
  * Constructs the exception.
  *         
  * @param  $message         Message
  * @param  $previous        Previous exception. 
  */
 public function __construct($message = "Error accessing file: Unable to access <file_name>.")
 {
     parent::__construct(-1, $previous);
     $this->message = $message;
 }
コード例 #4
0
 /**
  * Constructs the exception.
  *         
  * @param  $message         Message
  * @param  $previous        Previous exception. 
  */
 public function __construct($code = 109, $message_params = array(), $previous = NULL)
 {
     parent::__construct($code, $message_params, $previous);
 }
コード例 #5
0
 /**
  * Constructs the exception.
  *         
  * @param  $message         Message
  * @param  $previous        Previous exception. 
  */
 public function __construct($filename, $previous = NULL)
 {
     parent::__construct(107, array('file' => $filename), $previous);
 }