Example #1
0
 function __construct($methodName, $className, Exception $oCause = null)
 {
     if (is_object($className)) {
         $className = get_class($className);
     }
     parent::__construct(mf_l('MF_PHP', 'E_NoSuchMethod'), array($methodName, $className), $oCause);
 }
Example #2
0
 function __construct($className, Exception $oCause = null)
 {
     if (is_object($className)) {
         $className = get_class($className);
     }
     parent::__construct(mf_l('MF_PHP', 'E_IsSingleton'), array($className), $oCause);
 }
Example #3
0
 public function __construct($module, $pathToFile, Exception $oCause = null)
 {
     parent::__construct("No such translation file '%s' for module '%s'", array($pathToFile, $module), $oCause);
 }
Example #4
0
 public function __construct($methodName, $obj, Exception $oCause = null)
 {
     parent::__construct("No such method '%s' for object of type '%s'", array($methodName, get_class($obj)), $oCause);
 }
Example #5
0
 public function __construct($module, Exception $oCause = null)
 {
     parent::__construct("No translations provided for module '%s'", array($module), $oCause);
 }
Example #6
0
 function __construct($className, Exception $oCause = null)
 {
     parent::__construct(mf_l('MF_PHP', 'E_NoSuchClass'), array($className), $oCause);
 }
Example #7
0
 function __construct($functionName, Exception $oCause = null)
 {
     parent::__construct(mf_l('MF_PHP', 'E_ConstraintFailed'), array($functionName), $oCause);
 }