public enum LiveViewExceptionType extends Enum<LiveViewExceptionType>
LiveViewExceptionType.getCode()
from one of these ENUMs. For example:
if (myException.getErrorCode() == LiveViewExceptionType.SNAPSHOT_OVER_LIMIT.getCode()) {
// then this exception was caused by the initial snapshot result set being larger than the specified limit value.
}
Modifier and Type | Method and Description |
---|---|
static LiveViewException |
error(Throwable cause)
Wraps any throwable into a LiveViewException of type LiveViewExceptionType.UNEXPECTED
|
int |
getCode()
Gets the unique identifying code for the exception ENUM
|
static LiveViewExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiveViewExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveViewExceptionType PARSING_ERROR_AT
public static final LiveViewExceptionType SB_URI_NO_CONTAINER
public static final LiveViewExceptionType UNDERLYING_SB_EXCEPTION
public static final LiveViewExceptionType CONNECTION_CLOSED
public static final LiveViewExceptionType QUERY_SYNTAX
public static final LiveViewExceptionType UNEXPECTED
public static final LiveViewExceptionType UNKNOWN_TABLE_AT
public static final LiveViewExceptionType UNKNOWN_FIELD_AT
public static final LiveViewExceptionType INVALID_SESSION
public static final LiveViewExceptionType INVALID_QUERY_HANDLE
public static final LiveViewExceptionType QUERY_NOT_SPECIFIED
public static final LiveViewExceptionType UNKNOWN_TABLE
public static final LiveViewExceptionType DUPLICATE_TABLE
public static final LiveViewExceptionType NOT_AUTHORIZED
public static final LiveViewExceptionType SERVER_NOT_STARTED
public static final LiveViewExceptionType SERVER_WAS_STOPPED
public static final LiveViewExceptionType SESSION_ALREADY_HAS_BINARY_LISTENER
public static final LiveViewExceptionType REMOTE_CONNECTION_CLOSE
public static final LiveViewExceptionType UNAUTHORIZED
public static final LiveViewExceptionType INVALID_REQUEST
public static final LiveViewExceptionType MAX_SESSIONS_EXCEEDED
public static final LiveViewExceptionType POLLING_NOT_SUPPORTED_FOR_CLIENT
public static final LiveViewExceptionType NOT_A_VALID_QUERY_ID
public static final LiveViewExceptionType BINARY_STREAMING_NOT_SUPPORTED_FOR_CLIENT
public static final LiveViewExceptionType MAX_QUERIES_PER_SESSION_EXCEEDED
public static final LiveViewExceptionType QUERY_RESULT_QUEUE_SIZE_EXCEEDED
public static final LiveViewExceptionType UPDATE_OVER_LIMIT
public static final LiveViewExceptionType PROTOCOL_VERSION_NOT_SUPPORTED
public static final LiveViewExceptionType CONNECTION_CANCELED
public static final LiveViewExceptionType COULD_NOT_CONNECT
public static final LiveViewExceptionType TABLE_IS_NOT_WRITEABLE
public static final LiveViewExceptionType PK_FIELD_CANNOT_BE_NULL
public static final LiveViewExceptionType IO_EXCEPTION
public static final LiveViewExceptionType INVALID_CONNECT_URI
public static final LiveViewExceptionType QUERY_WAS_CLOSED
public static final LiveViewExceptionType MAX_SB_CONNECTIONS_EXCEEDED
public static final LiveViewExceptionType SB_REMOTE_CONNECTION_CLOSED
public static final LiveViewExceptionType INVALID_SAVED_QUERY_ID
public static final LiveViewExceptionType PUBLISHER_CLOSED
public static final LiveViewExceptionType DUPLICATE_GROUP_BY_EXPR
public static final LiveViewExceptionType NON_AGG_MUST_BE_IN_GROUP_BY
public static final LiveViewExceptionType DUPLICATION_SELECT_EXPR
public static final LiveViewExceptionType AGG_QUERY_MUST_HAVE_GROUP_BY
public static final LiveViewExceptionType TABLE_DOES_NOT_SUPPORT_QUERY
public static final LiveViewExceptionType PROTOCOL_SCHEMA_VIOLATION
public static final LiveViewExceptionType ALERT_VERSION_NULL
public static final LiveViewExceptionType ALERT_VERSION_MISMATCH
public static final LiveViewExceptionType ALERT_SERVICE_ERROR
public static final LiveViewExceptionType ALERT_VALIDATION_ERROR
public static final LiveViewExceptionType NO_CONNECTION
public static final LiveViewExceptionType EXPRESSION_ERROR
public static final LiveViewExceptionType SNAPSHOT_OVER_LIMIT
public static final LiveViewExceptionType ALERTS_DISABLED
public static final LiveViewExceptionType JDBC_DATA_SOURCE_ERROR
public static final LiveViewExceptionType NO_DATASOURCES_DEFINED_IN_SBD_SBCONF
public static final LiveViewExceptionType BAD_SBD_SBCONF
public static final LiveViewExceptionType SQL_ERROR
public static final LiveViewExceptionType DATA_SOURCE_NOT_FOUND
public static final LiveViewExceptionType SELECT_ONLY
public static final LiveViewExceptionType SQL_TABLE_SNAPSHOT_ONLY
public static final LiveViewExceptionType ERROR_PROCESSING_QUERY
public static final LiveViewExceptionType JDBC_CONFIG_ERROR
public static final LiveViewExceptionType WORKSPACE_VERSION_MISMATCH
public static final LiveViewExceptionType WORKSPACE_NOT_FOUND
public static final LiveViewExceptionType QUERY_OPTION_NOT_SUPPORTED
public static final LiveViewExceptionType INVALID_QUERY
public static final LiveViewExceptionType ALREADY_LISTENING
public static final LiveViewExceptionType INVALID_PROJECTION_EXPR
public static final LiveViewExceptionType AGG_NOT_EXPLICITY_NAMED
public static final LiveViewExceptionType AGGREGATE_STREAM_ERROR
public static final LiveViewExceptionType SELECT_STAR_INVALID_WITH_GROUPS
public static final LiveViewExceptionType SQL_TYPECHECK_ERROR
public static final LiveViewExceptionType SQL_GENERAL_ERROR
public static final LiveViewExceptionType UNMATCHED_QUOTE
public static final LiveViewExceptionType DELETE_REACH_LIMIT
public static final LiveViewExceptionType BLOCKING_DELETE_QUERY_NOT_SUPORTED
public static final LiveViewExceptionType SB_CONNECTION_NO_LONGER
public static final LiveViewExceptionType COULD_NOT_CONNECT_MSG
public static final LiveViewExceptionType TABLE_PROVIDER_MISSING_REQUIRED_PARAMETERS
public static final LiveViewExceptionType CLASS_NOT_FOUND_OR_NOT_TABLEPROVIDER
public static final LiveViewExceptionType TABLE_PROVIDER_ALREADY_EXISTS
public static final LiveViewExceptionType REMOTE_LIVEVIEW_SERVER_DOES_NOT_SUPPORT_EXTERNAL_HOSTING
public static final LiveViewExceptionType TABLE_IS_DISABLED
public static final LiveViewExceptionType TABLE_IS_SHUTTING_DOWN
public static final LiveViewExceptionType TABLE_DOES_NOT_EXIST
public static final LiveViewExceptionType UNTRUSTED_SSL_CERTIFICATE
public static final LiveViewExceptionType REMOTE_LIVEVIEW_SBD_CONNECTION_CLOSED
public static final LiveViewExceptionType PROBLEM_CONNECTION_TO_SBD
public static final LiveViewExceptionType TABLE_REQUIRES_UNSUPPORTED_CAPABILITIES
public static final LiveViewExceptionType USING_WEBSOCKETS_UNSUPERVISED
public static final LiveViewExceptionType NOT_SUPPORTED_IN_MULTICONNECT
public static final LiveViewExceptionType SCHEMA_DOES_NOT_MATCH
public static final LiveViewExceptionType QUERY_FAILS_ON_NEW_SERVER
public static final LiveViewExceptionType QUERY_ID_ALREADY_USED
public static final LiveViewExceptionType REQUIRED_PARAMETER_MISSING
public static final LiveViewExceptionType SENDTUPLE_RESPONSE_REQUIRES_KEY_FIELD
public static final LiveViewExceptionType SENDTUPLE_NO_RESPONSE
public static final LiveViewExceptionType SENDTUPLE_STREAMNAME_OR_CONTAINER_NOT_FOUND
public static final LiveViewExceptionType AGGREGATE_ALERT_REQUIRES_ALERT_TEST_EXPRESSION
public static final LiveViewExceptionType ALERT_TEST_EXPRESSION_WAS_NULL
public static final LiveViewExceptionType ALERT_TEST_EXPRESSION_ERROR
public static final LiveViewExceptionType ALIAS_ALLOWED_IN_AGG_ONLY
public static final LiveViewExceptionType REDIRECT_TOO_DEEP
public static final LiveViewExceptionType SESSIONCHANNEL_DOES_NOT_EXIST
public static final LiveViewExceptionType CHANNEL_ALREADY_EXISTS
public static final LiveViewExceptionType EXPRESSIONS_ALLOWED_IN_AGG_ONLY
public static final LiveViewExceptionType QF_AGGREGATE_FUNCTIONS_CANNOT_BE_COMBINED_WITH_CALCULATED_COLUMN
public static final LiveViewExceptionType QF_GROUP_BY_NOT_ALLOWED_WITH_CALCULATED_COLUMNS
public static final LiveViewExceptionType DELTA_SHOULD_BE_DISABLED_TO_GET_BIT_MASK_OF_CHANGED_FIELDS
public static final LiveViewExceptionType ENGINE_NOT_AVAILABLE_FOR_CALCULATION
public static final LiveViewExceptionType DYNAMIC_TABLES_NOT_ALLOWED
public static final LiveViewExceptionType ILLEGAL_QUERYTYPE__QUERYLISTENER_COMBINATION
public static final LiveViewExceptionType TUPLE_UPDATE_FOR_A_MISSING_RESULT
public static final LiveViewExceptionType SESSION_TRYING_TO_KILL_SELF
public static final LiveViewExceptionType INVALID_PUBLISHER
public static final LiveViewExceptionType KILL_PUBLISHER_ADMINISTRATIVE_KILL_
public static final LiveViewExceptionType KILL_QUERY_ADMINISTRATIVE_KILL
public static final LiveViewExceptionType TABLE_IS_ALREADY_LOADING
public static final LiveViewExceptionType TABLE_IS_ALREADY_RUNNING
public static final LiveViewExceptionType TABLE_MUST_BE_DROPPED
public static final LiveViewExceptionType LIVEVIEW_TABLE_CONFIGURATIONS_NOT_FOUND
public static final LiveViewExceptionType SCHEMA_PARSE_ERROR
public static final LiveViewExceptionType TABLE_REMOVE_BLOCKED
public static final LiveViewExceptionType DYNAMIC_TABLES_NOT_ALLOWED_2
public static final LiveViewExceptionType TABLE_START_BLOCKED
public static final LiveViewExceptionType KILL_QUERY_SESSION_CLOSED_KILL
public static final LiveViewExceptionType KILL_QUERY_TABLE_DROPPED_KILL
public static final LiveViewExceptionType REQUIRED_FILE_NOT_FOUND
public static final LiveViewExceptionType PUBLISHING_NOT_SUPPORTED
public static final LiveViewExceptionType LAST
public static LiveViewExceptionType[] values()
for (LiveViewExceptionType c : LiveViewExceptionType.values()) System.out.println(c);
public static LiveViewExceptionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public static LiveViewException error(Throwable cause)
cause
- the Throwable you wish to wrap