Location: PHPKode > projects > AModules3 > amodules-3.0.1/lib/RPCException.php
<?
class RPCException extends Exception {
	public $fileRPC;
	public $lineRPC;
	function __construct($msg,$code=0,$fileRPC=null,$lineRPC=null){
        parent::__construct($msg,$code);
        if(!is_null($fileRPC)) 
        	$this->fileRPC=$fileRPC;
        else
        	$this->fileRPC=$this->getFile();
        		
        if(!is_null($lineRPC)) 
        	$this->lineRPC=$lineRPC;
        else
        	$this->lineRPC=$this->getLine();	
        return; 
    }
    function getMyFile(){ return $this->fileRPC; }
    function getMyLine(){ return $this->lineRPC; }
}
Return current item: AModules3