com.netflix.astyanax.connectionpool.exceptions
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.netflix.astyanax.connectionpool.exceptions.ConnectionException
              extended by com.netflix.astyanax.connectionpool.exceptions.OperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadConfigurationException, BadRequestException, NotFoundException, UnknownException

public class OperationException
extends ConnectionException

Application exception for an operation executed within the context of the connection pool. An application exception varies from other ConnectionException in that it will immediately roll up to the client and cannot fail over. Examples of application exceptions are invalid request formats.

Author:
elandau
See Also:
Serialized Form

Constructor Summary
OperationException(String message)
           
OperationException(String message, Throwable cause)
           
OperationException(Throwable t)
           
 
Method Summary
 
Methods inherited from class com.netflix.astyanax.connectionpool.exceptions.ConnectionException
getHost, getLatency, getLatency, getLatencyWithPool, getMessage, getOriginalMessage, setAttempt, setHost, setLatency, setLatencyWithPool
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationException

public OperationException(String message)

OperationException

public OperationException(Throwable t)

OperationException

public OperationException(String message,
                          Throwable cause)


Copyright © 2012. All Rights Reserved.