Package org.springframework.cassandra.support.exception

Examples of org.springframework.cassandra.support.exception.CassandraTruncateException


    if (x instanceof WriteTimeoutException) {
      WriteType writeType = ((WriteTimeoutException) x).getWriteType();
      return new CassandraWriteTimeoutException(writeType == null ? null : writeType.name(), x.getMessage(), x);
    }
    if (x instanceof TruncateException) {
      return new CassandraTruncateException(x.getMessage(), x);
    }
    if (x instanceof UnavailableException) {
      UnavailableException ux = (UnavailableException) x;
      return new CassandraInsufficientReplicasAvailableException(ux.getRequiredReplicas(), ux.getAliveReplicas(),
          x.getMessage(), x);
View Full Code Here

TOP

Related Classes of org.springframework.cassandra.support.exception.CassandraTruncateException

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.