Class DataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cern.nxcals.api.backport.domain.exceptions.DataAccessException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionIndicates a problem connecting to the measurement datasourceIndicates a problem with the dataWhen there is something wrong with a derivation algorithmIndicates that an attempt has been made to load at least one duplicate time series data recordRelated to java reflexion when querying the user profileIndicates an internal system or API errorIndicates that a naming exception has occured at the level of JNDIIndicates a problem with the supplied login credentialsIndicates a problem with the metadataIndicates a problem with some PL/SQL execution at the datasourceAll servers are downIndicates a problem with some SQL execution at the datasourceWhen there is too much data to extractWhen there is too much data to extractAn exception related to code that should never be reached, usually due to programming bugsstatic final DataAccessException -
Constructor Summary
ConstructorsConstructorDescriptionDataAccessException(org.apache.commons.lang3.tuple.Pair<Integer, String> errorCode, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNREACHABLE_CODE_EXCEPTION
-
SQL_EXCEPTION
Indicates a problem with some SQL execution at the datasource -
PLSQL_EXCEPTION
Indicates a problem with some PL/SQL execution at the datasource -
META_EXCEPTION
Indicates a problem with the metadata -
CONNECTION_EXCEPTION
Indicates a problem connecting to the measurement datasource -
LOGIN_EXCEPTION
Indicates a problem with the supplied login credentials -
DATA_EXCEPTION
Indicates a problem with the data -
INTERNAL_ERROR
Indicates an internal system or API error -
DUPLICATE_DATA_EXCEPTION
Indicates that an attempt has been made to load at least one duplicate time series data record -
JNDI_EXCEPTION
Indicates that a naming exception has occured at the level of JNDI -
ILLEGAL_ARGUMENT
Related to java reflexion when querying the user profile -
ILLEGAL_ACCESS
-
INVOCATION_TRAGET
-
TOO_MUCH_DATA
When there is too much data to extract -
UNAUTHORIZED_APPLICATION
When there is too much data to extract -
DERIVATION_ERROR
When there is something wrong with a derivation algorithm -
SERVICE_EXCEPTION
All servers are down -
UNREACHABLE_CODE
An exception related to code that should never be reached, usually due to programming bugs
-
-
Constructor Details
-
DataAccessException
-
-
Method Details
-
getErrorCode
public int getErrorCode() -
getMessage
- Overrides:
getMessagein classThrowable
-
appendMessage
-
throwUnreachableCodeException
public static void throwUnreachableCodeException()
-