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:
- Serializable
public final class OperationException
- extends IOException
Exceptions thrown when protocol errors occur.
- See Also:
- Serialized Form
OperationException
public OperationException()
- General exception (no message).
OperationException
public OperationException(OperationErrorType eType,
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 String toString()
- Overrides:
toString
in class Throwable