Package org.springframework.remoting

Examples of org.springframework.remoting.RemoteAccessException


    else {
      if (isConnectFailure(ex)) {
        return new RemoteConnectFailureException("Could not connect to CORBA service [" + getJndiName() + "]", ex);
      }
      else {
        return new RemoteAccessException("Could not access CORBA service [" + getJndiName() + "]", ex);
      }
    }
  }
View Full Code Here


    }
    if (ReflectionUtils.declaresException(method, RemoteException.class)) {
      return new RemoteException(message, ex);
    }
    else {
      return new RemoteAccessException(message, ex);
    }
  }
View Full Code Here

    else {
      if (isConnectFailure) {
        return new RemoteConnectFailureException("Could not connect to remote service [" + serviceName + "]", ex);
      }
      else {
        return new RemoteAccessException("Could not access remote service [" + serviceName + "]", ex);
      }
    }
  }
View Full Code Here

    }
    catch (ProtocolException ex) {
      return new RemoteConnectFailureException("Could not connect to remote service [" + this.portQName + "]", ex);
    }
    catch (WebServiceException ex) {
      throw new RemoteAccessException("Could not access remote service at [" + this.portQName + "]", ex);
    }
  }
View Full Code Here

        {
            throw new RemoteConnectFailureException("Cannot connect to SOAP service at [" + getServiceUrl() + "]", ex);
        }
        else
        {
            throw new RemoteAccessException("Cannot access SOAP service at [" + getServiceUrl() + "]", ex);
        }
    }
View Full Code Here

    catch (ProtocolException ex) {
      throw new RemoteConnectFailureException(
          "Could not connect to remote service [" + getEndpointAddress() + "]", ex);
    }
    catch (WebServiceException ex) {
      throw new RemoteAccessException(
          "Could not access remote service at [" + getEndpointAddress() + "]", ex);
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.remoting.RemoteAccessException

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.