public class OperationException
extends java.io.IOException
Constructor and Description |
---|
OperationException()
General exception (no message).
|
OperationException(OperationErrorType eType,
java.lang.String msg)
Exception with a message.
|
Modifier and Type | Method and Description |
---|---|
OperationErrorType |
getType()
Get the type of error.
|
java.lang.String |
toString() |
public OperationException()
public OperationException(OperationErrorType eType, java.lang.String msg)
eType
- the type of error that occurredmsg
- the error messagepublic OperationErrorType getType()
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.