public class RbdException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected int |
returnValue |
| Constructor and Description |
|---|
RbdException(String message)
Throw a a RbdException
|
RbdException(String message,
int returnValue)
Throw a a RbdException
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReturnValue()
Get the return value passed on to the constructor
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RbdException(String message)
message - The error messagepublic RbdException(String message, int returnValue)
message - The error messagereturnValue - The return value of the rados_ callCopyright © 2015. All rights reserved.