예제 #1
0
 public function __construct($msg = "Action not found")
 {
     parent::__construct();
     $this->setMessage($msg);
     $this->setSeverity(api_exception::THROW_FATAL);
 }
예제 #2
0
 /**
  * Constructor.
  *
  * @param $msg string: User message.
  */
 public function __construct($msg = 'No View Found!')
 {
     parent::__construct();
     $this->setMessage($msg);
     $this->setSeverity(api_exception::THROW_FATAL);
 }
예제 #3
0
 public function __construct($code, $message)
 {
     parent::__construct(self::THROW_FATAL, array(), $code, $message);
 }