public class FDBException extends RuntimeException implements CloneableException
FDBException sets
the message of the Exception.| Constructor and Description |
|---|
FDBException(String message,
int code)
A general constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the code for this error.
|
boolean |
isSuccess()
Determine if this
FDBException represents a success code from the native layer. |
Exception |
retargetClone()
Create and return a new
Exception that has a backtrace including the
calling line of code. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FDBException(String message, int code)
public int getCode()
public boolean isSuccess()
FDBException represents a success code from the native layer.true if this error represents success, false otherwisepublic Exception retargetClone()
CloneableExceptionException that has a backtrace including the
calling line of code.retargetClone in interface CloneableExceptionException.