Package com.sap.cds.jdbc.hana
Class HanaExceptionAnalyzer
java.lang.Object
com.sap.cds.jdbc.generic.GenericExceptionAnalyzer
com.sap.cds.jdbc.hana.HanaExceptionAnalyzer
- All Implemented Interfaces:
ExceptionAnalyzer
The HanaExceptionAnalyzer can analyze incoming SQLExceptions from a SAP HANA connection and
determine by the SQL error code which problem has occurred.
All SAP HANA SQL error codes can be found here: https://launchpad.support.sap.com/#/notes/0002658020
-
Field Summary
Fields inherited from class com.sap.cds.jdbc.generic.GenericExceptionAnalyzer
NOT_NULL_CONSTRAINT_ERROR_CODE, UNIQUE_CONSTRAINT_ERROR_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanboolean
-
Constructor Details
-
HanaExceptionAnalyzer
public HanaExceptionAnalyzer()
-
-
Method Details
-
isUniqueConstraint
- Specified by:
isUniqueConstraintin interfaceExceptionAnalyzer- Overrides:
isUniqueConstraintin classGenericExceptionAnalyzer
-
isNotNullConstraint
- Specified by:
isNotNullConstraintin interfaceExceptionAnalyzer- Overrides:
isNotNullConstraintin classGenericExceptionAnalyzer
-
isLockTimeout
- Specified by:
isLockTimeoutin interfaceExceptionAnalyzer- Overrides:
isLockTimeoutin classGenericExceptionAnalyzer
-