Package org.openxri.exceptions

Examples of org.openxri.exceptions.ServerNotFoundException


        XRDS xrds = openXRIServer.lookupByNamespace(
            this.rootSubSegment.getName(),
            this.query,
            this.signed.booleanValue());

        if (xrds == null) throw new ServerNotFoundException();
       
        Index.this.serverResultFragment.setXrds(xrds);
      } catch (ServerNotFoundException ex) {

        Index.this.error(Index.this.getString("servernotfound"));
View Full Code Here


        XRDS xrds = openXRIServer.lookupSelfDescribing(
            this.rootSubSegment.getName(),
            this.signed.booleanValue());

        if (xrds == null) throw new ServerNotFoundException();
       
        Index.this.serverResultFragment.setXrds(xrds);
      } catch (ServerNotFoundException ex) {

        Index.this.error(Index.this.getString("servernotfound"));
View Full Code Here

      throw ex2;
    }

    if (namespaceAuthority == null) {

      ServerException ex = new ServerNotFoundException("Namespace authority " + namespace + " not found.");
      log.warn(ex);
      throw ex;
    }

    // the big goal is to make an XRDS, consisting of one XRD
View Full Code Here

    try {

      parentAuthority = this.store.localLookup(authorityPath);

      if (parentAuthority == null) throw new ServerNotFoundException("Namespace authority " + namespace + " not found.");
    } catch (StoreException ex) {

      ServerException ex2 = new ServerInternalException("Error while finding namespace authority " + namespace + ": " + ex.getMessage(), ex);
      log.warn(ex2);
      throw ex2;
View Full Code Here

      throw ex2;
    }

    if (namespaceAuthority == null) {

      ServerException ex = new ServerNotFoundException("Namespace authority " + namespace + " not found.");
      log.warn("", ex);
      throw ex;
    }

    // the big goal is to make an XRDS, consisting of one XRD
View Full Code Here

    try {

      parentAuthority = this.store.localLookup(authorityPath);

      if (parentAuthority == null) throw new ServerNotFoundException("Namespace authority " + namespace + " not found.");
    } catch (StoreException ex) {

      ServerException ex2 = new ServerInternalException("Error while finding namespace authority " + namespace + ": " + ex.getMessage(), ex);
      log.warn("", ex2);
      throw ex2;
View Full Code Here

      throw ex2;
    }

    if (namespaceAuthority == null) {

      ServerException ex = new ServerNotFoundException("Namespace authority " + namespace + " not found.");
      log.warn("", ex);
      throw ex;
    }

    // the big goal is to make an XRDS, consisting of one XRD
View Full Code Here

    try {

      parentAuthority = this.store.localLookup(authorityPath);

      if (parentAuthority == null) throw new ServerNotFoundException("Namespace authority " + namespace + " not found.");
    } catch (StoreException ex) {

      ServerException ex2 = new ServerInternalException("Error while finding namespace authority " + namespace + ": " + ex.getMessage(), ex);
      log.warn("", ex2);
      throw ex2;
View Full Code Here

      throw ex2;
    }

    if (namespaceAuthority == null) {

      ServerException ex = new ServerNotFoundException("Namespace authority " + namespace + " not found.");
      log.warn("", ex);
      throw ex;
    }

    // the big goal is to make an XRDS, consisting of one XRD
View Full Code Here

    try {

      parentAuthority = this.store.localLookup(authorityPath);

      if (parentAuthority == null) throw new ServerNotFoundException("Namespace authority " + namespace + " not found.");
    } catch (StoreException ex) {

      ServerException ex2 = new ServerInternalException("Error while finding namespace authority " + namespace + ": " + ex.getMessage(), ex);
      log.warn("", ex2);
      throw ex2;
View Full Code Here

TOP

Related Classes of org.openxri.exceptions.ServerNotFoundException

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.