Package org.springframework.remoting

Examples of org.springframework.remoting.RemoteProxyFailureException


        throw convertHessianAccessException(utex.getUndeclaredThrowable());
      }
      throw ex.getTargetException();
    }
    catch (Throwable ex) {
      throw new RemoteProxyFailureException(
          "Failed to invoke Hessian proxy for remote service [" + getServiceUrl() + "]", ex);
    }
  }
View Full Code Here


    }
    catch (InvocationTargetException ex) {
      throw ex;
    }
    catch (NoSuchMethodException ex) {
      throw new RemoteProxyFailureException("No matching RMI stub method found for: " + method, ex);
    }
    catch (Throwable ex) {
      throw new RemoteProxyFailureException("Invocation of RMI stub method failed: " + method, ex);
    }
  }
View Full Code Here

        Throwable exToThrow = ex.getTargetException();
        RemoteInvocationUtils.fillInClientStackTraceIfPossible(exToThrow);
        throw exToThrow;
      }
      catch (Throwable ex) {
        throw new RemoteProxyFailureException(
            "Failed to invoke RMI stub for remote service [" + getServiceUrl() + "]", ex);
      }
    }
    else {
      // traditional RMI stub
View Full Code Here

        }
        throw RmiClientInterceptorUtils.convertRmiAccessException(
            invocation.getMethod(), rex, isConnectFailure, this.portQName.toString());
      }
      else if (targetEx instanceof JAXRPCException) {
        throw new RemoteProxyFailureException("Invalid call on JAX-RPC port stub", targetEx);
      }
      else {
        throw targetEx;
      }
    }
View Full Code Here

      }
      catch (InvocationTargetException ex) {
        throw ex.getTargetException();
      }
      catch (Throwable ex) {
        throw new RemoteProxyFailureException(
            "Failed to invoke RMI stub for remote service [" + getJndiName() + "]", ex);
      }
    }
    else {
      // traditional RMI stub
View Full Code Here

      }
      throw RmiClientInterceptorUtils.convertRmiAccessException(
          invocation.getMethod(), ex, isConnectFailure, portQName.toString());
    }
    catch (JAXRPCException ex) {
      throw new RemoteProxyFailureException("Invalid JAX-RPC call configuration", ex);
    }
  }
View Full Code Here

    }
    catch (SOAPFaultException ex) {
      throw new JaxRpcSoapFaultException(ex);
    }
    catch (JAXRPCException ex) {
      throw new RemoteProxyFailureException("Invalid JAX-RPC call configuration", ex);
    }
  }
View Full Code Here

    }
    catch (SOAPFaultException ex) {
      throw new JaxRpcSoapFaultException(ex);
    }
    catch (JAXRPCException ex) {
      throw new RemoteProxyFailureException("Invalid JAX-RPC call configuration", ex);
    }
  }
View Full Code Here

        throw convertHessianAccessException(utex.getUndeclaredThrowable());
      }
      throw ex.getTargetException();
    }
    catch (Throwable ex) {
      throw new RemoteProxyFailureException(
          "Failed to invoke Hessian proxy for remote service [" + getServiceUrl() + "]", ex);
    }
    finally {
      resetThreadContextClassLoader(originalClassLoader);
    }
View Full Code Here

        throw convertBurlapAccessException(utex.getUndeclaredThrowable());
      }
      throw ex.getTargetException();
    }
    catch (Throwable ex) {
      throw new RemoteProxyFailureException(
          "Failed to invoke Burlap proxy for remote service [" + getServiceUrl() + "]", ex);
    }
    finally {
      resetThreadContextClassLoader(originalClassLoader);
    }
View Full Code Here

TOP

Related Classes of org.springframework.remoting.RemoteProxyFailureException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.