Package org.waveprotocol.wave.federation

Examples of org.waveprotocol.wave.federation.FederationException


        try {
          markStateCorrupted();
        } finally {
          releaseWriteLock();
        }
        futureResult.setException(new FederationException(
            FederationErrors.badRequest("Invalid applied delta protocol buffer")));
        return;
      }
    }
    LOG.info("Got update: " + appliedDeltas);
View Full Code Here


    } catch (WaveServerException e) {
      LOG.warning("Update failure", e);
      // TODO(soren): make everyone throw FederationException instead
      // of WaveServerException so we don't have to translate between them here
      futureResult.setException(
          new FederationException(FederationErrors.badRequest(e.getMessage())));
    } finally {
      releaseWriteLock();
    }
  }
View Full Code Here

        try {
          markStateCorrupted();
        } finally {
          releaseWriteLock();
        }
        futureResult.setException(new FederationException(
            FederationErrors.badRequest("Invalid applied delta protocol buffer")));
        return;
      }
    }
    LOG.info("Got update: " + appliedDeltas);
View Full Code Here

    } catch (WaveServerException e) {
      LOG.warning("Update failure", e);
      // TODO(soren): make everyone throw FederationException instead
      // of WaveServerException so we don't have to translate between them here
      futureResult.setException(
          new FederationException(FederationErrors.badRequest(e.getMessage())));
    } finally {
      releaseWriteLock();
    }
  }
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.federation.FederationException

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.