Examples of RemoteAccessException


Examples of Framework.RemoteAccessException

            br.body.setIntHeader(Constants.HTTP_HEADER_CONTENT_LENGTH, totalLength);

            return br;

        } catch (IOException e) {
            RemoteAccessException errorVar = new RemoteAccessException("Cannot connect to URL: " + URLstring, e);
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

Examples of Framework.RemoteAccessException

            this.address = pAddress;
            this.port = pPort;
            this.addressType = pAddressType;
            this.open = true;
        } catch (LDAPException e) {
            throw new RemoteAccessException(
                    "Failed to to connect on this object"); // As thrown by UDS
        }
        return new TextData("open"); // As returned by UDS
    }
View Full Code Here

Examples of Framework.RemoteAccessException

            br.body.setIntHeader(Constants.HTTP_HEADER_CONTENT_LENGTH, totalLength);

            return br;

        } catch (IOException e) {
            RemoteAccessException errorVar = new RemoteAccessException("Cannot connect to URL: " + URLstring, e);
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

Examples of Framework.RemoteAccessException

            this.address = pAddress;
            this.port = pPort;
            this.addressType = pAddressType;
            this.open = true;
        } catch (LDAPException e) {
            throw new RemoteAccessException(
                    "Failed to to connect on this object"); // As thrown by UDS
        }
        return new TextData("open"); // As returned by UDS
    }
View Full Code Here

Examples of Framework.RemoteAccessException

              }
            }
            return result.get();
        }
        catch (SocketException se) {
          throw new RemoteAccessException(se);
        }
        catch (RemoteException re) {
          throw new RemoteAccessException(re);
        }
        catch (org.springframework.remoting.RemoteAccessException re) {
          throw new RemoteAccessException(re);
        }
        catch (Throwable t) {
            if (t instanceof RuntimeException) {
                throw (RuntimeException)t;
            }
View Full Code Here

Examples of Framework.RemoteAccessException

              }
            }
            return result.get();
        }
        catch (SocketException se) {
          throw new RemoteAccessException(se);
        }
        catch (RemoteException re) {
          throw new RemoteAccessException(re);
        }
        catch (org.springframework.remoting.RemoteAccessException re) {
          throw new RemoteAccessException(re);
        }
        catch (Throwable t) {
            if (t instanceof RuntimeException) {
                throw (RuntimeException)t;
            }
View Full Code Here

Examples of net.helipilot50.stocktrade.framework.RemoteAccessException

              }
            }
            return result.get();
        }
        catch (SocketException se) {
          throw new RemoteAccessException(se);
        }
        catch (RemoteException re) {
          throw new RemoteAccessException(re);
        }
        catch (org.springframework.remoting.RemoteAccessException re) {
          throw new RemoteAccessException(re);
        }
        catch (Throwable t) {
            if (t instanceof RuntimeException) {
                throw (RuntimeException)t;
            }
View Full Code Here

Examples of org.springframework.remoting.RemoteAccessException

                RemoteInvocationResult result = marshaller.extractInvocationResult(response);
                return recreateRemoteInvocationResult(result);
            }
        }
        catch (JMSException ex) {
            throw new RemoteAccessException("Cannot access JMS invoker remote service at [" + getServiceUrl() + "]", ex);
        }
    }
View Full Code Here

Examples of org.springframework.remoting.RemoteAccessException

            log.debug("template " + templ + " not found in registrar " + lus);
        }
      }
    }
    catch (RemoteException re) {
      throw new RemoteAccessException("can not find service", re);
    }
  }
View Full Code Here

Examples of org.springframework.remoting.RemoteAccessException

    return null;
  }

  public static RuntimeException convertJiniException(Exception exception) {
    if (exception instanceof LeaseException)
      return new RemoteAccessException("Lease denied", exception);

    if (exception instanceof TransactionException)
      return new org.springframework.transaction.TransactionSystemException(exception.getMessage(),
          exception);

    if (exception instanceof RemoteException) {
      // Translate to Spring's unchecked remote access exception
      return new RemoteAccessException("RemoteException", exception);
    }
    if (exception instanceof UnusableEntryException) {
      return new RemoteAccessException("Unusable entry", exception);
    }

    if (exception instanceof RuntimeException)
      return (RuntimeException) exception;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.