net.spy.memcached.ops
Class OperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.spy.memcached.ops.OperationException
- All Implemented Interfaces:
- java.io.Serializable
public final class OperationException
- extends java.io.IOException
Exceptions thrown when protocol errors occur.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OperationException
public OperationException()
- General exception (no message).
OperationException
public OperationException(OperationErrorType eType,
java.lang.String msg)
- Exception with a message.
- Parameters:
eType
- the type of error that occurredmsg
- the error message
getType
public OperationErrorType getType()
- Get the type of error.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.