private static function getRpcErrorFromException($error_no, $package, $call) {
    if (isset(self::$exceptionLookupTable[$error_no])) {
      $res = self::$exceptionLookupTable[$error_no];
      return new $res[0](sprintf($res[1], $package, $call));
    }
    return new RPCFailedError(sprintf('Remote implementation for %s.%s failed',
                                       $package,
                                       $call));
  }
private static function getRpcErrorFromException($error_no, $package, $call) {
    if (isset(self::$exceptionLookupTable[$error_no])) {
      $res = self::$exceptionLookupTable[$error_no];
      return new $res[0](sprintf($res[1], $package, $call));
    }
    return new RPCFailedError(sprintf('Remote implementation for %s.%s failed',
                                       $package,
                                       $call));
  }
private static function getRpcErrorFromException ( $ error_no , $ package , $ call ) { if ( isset ( self :: $ exceptionLookupTable [ $ error_no ] ) ) { $ res = self :: $ exceptionLookupTable [ $ error_no ] ; return new $ res [ 0 ] ( sprintf ( $ res [ 1 ] , $ package , $ call ) ) ; } return new RPCFailedError ( sprintf ( 'Remote implementation for %s.%s failed' , $ package , $ call ) ) ; }
Create a runtime exception from an RPC Error Code.

@param int $error_no The RPC error code.
@param string $package The package name of the RPC call.
@param string $call The call name of the RPC call.
Create a runtime exception from an RPC Error Code .