public class DatabaseException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_IS_EMPTY |
static int |
FIELD_IS_WRONG_FORMAT |
static int |
FIELD_NAME_DOES_NOT_EXIST |
static int |
GENERAL_ERROR |
static int |
INVALID_PARAMETER_SPECIFIED |
static int |
QUERY_IS_INVALID |
static int |
REMOTE_QUERY_IS_INVALID |
static int |
UNABLE_TO_LOCATE_SERVICE |
| Constructor and Description |
|---|
DatabaseException(String sMessage,
int iNumber) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExceptionNumber()
Returns the unique exception code related to the database.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int FIELD_NAME_DOES_NOT_EXIST
public static final int FIELD_IS_EMPTY
public static final int FIELD_IS_WRONG_FORMAT
public static final int QUERY_IS_INVALID
public static final int INVALID_PARAMETER_SPECIFIED
public static final int UNABLE_TO_LOCATE_SERVICE
public static final int REMOTE_QUERY_IS_INVALID
public static final int GENERAL_ERROR
public DatabaseException(String sMessage, int iNumber)
Copyright © 2013 CableLabs. All Rights Reserved.