コード例 #1
0
ファイル: IsSingleton.php プロジェクト: stuartherbert/mf
 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);
 }
コード例 #2
0
ファイル: NoSuchMethod.php プロジェクト: stuartherbert/mf
 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);
 }
コード例 #3
0
ファイル: NoSuchClass.php プロジェクト: stuartherbert/mf
 function __construct($className, Exception $oCause = null)
 {
     parent::__construct(mf_l('MF_PHP', 'E_NoSuchClass'), array($className), $oCause);
 }
コード例 #4
0
ファイル: ConstraintFailed.php プロジェクト: stuartherbert/mf
 function __construct($functionName, Exception $oCause = null)
 {
     parent::__construct(mf_l('MF_PHP', 'E_ConstraintFailed'), array($functionName), $oCause);
 }