public class QuasardbException extends Exception
| Modifier | Constructor and Description |
|---|---|
protected |
QuasardbException()
Default constructor
|
protected |
QuasardbException(qdb_error_t jniError)
Handle all JNI errors by providing a custom QuasardbException
|
protected |
QuasardbException(String message)
Custom Quasardb message exception
|
protected |
QuasardbException(String message,
qdb_error_t jniError)
Handle all JNI errors with a custom message by providing a custom QuasardbException
|
protected |
QuasardbException(String code,
String message)
Custom Quasardb message exception
|
protected |
QuasardbException(String code,
String message,
Throwable cause)
Build a QuasardbException from a thrown exception and a custom message
|
protected |
QuasardbException(String message,
Throwable cause)
Build a QuasardbException from a thrown exception and a custom message
|
protected |
QuasardbException(Throwable cause)
Build a QuasardbException using a thrown exception
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Get error code of Exception
|
String |
getMessage() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected QuasardbException()
protected QuasardbException(String message)
message - the specific message related to the exceptionprotected QuasardbException(String code, String message)
message - the specific message related to the exceptionprotected QuasardbException(Throwable cause)
cause - the exception to handleprotected QuasardbException(String code, String message, Throwable cause)
message - the custom message of exceptioncause - the exception to handleprotected QuasardbException(String message, Throwable cause)
message - the custom message of exceptioncause - the exception to handleprotected QuasardbException(qdb_error_t jniError)
jniError - the JNI error to handleprotected QuasardbException(String message, qdb_error_t jniError)
jniError - the JNI error to handleCopyright © 2015 quasardb. All Rights Reserved.