SAP ABAP Class CX_TREX_SQL_EXCEPTION (TREX SQL exception)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷ STREX (Package) TREX ABAP client
⤷ BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷ STREX (Package) TREX ABAP client
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CX_STATIC_CHECK | Exceptions with Static and Dynamic Check of RAISING Clause | 20080404 |
Properties
Class | CX_TREX_SQL_EXCEPTION | |
Short Description | TREX SQL exception | |
Super Class | CX_STATIC_CHECK | Exceptions with Static and Dynamic Check of RAISING Clause |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 40 | Exception Class |
Package | STREX | TREX ABAP client |
Created | 20080404 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CX_TREX_SQL_EXCEPTION has no forward declaration.
Interfaces
Class CX_TREX_SQL_EXCEPTION has no interface implemented.
Friends
Class CX_TREX_SQL_EXCEPTION has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CON_NAME | Instance attribute | Public | Type reference (TYPE) | DBCON_NAME | 20080404 | |||
2 | CX_CONNECTION | Constant | Public | Type reference (TYPE) | SOTR_CONC | '001321AF52A31DED80C98814369A507E' | 20080404 | ||
3 | CX_TREX_SQL_EXCEPTION | Constant | Public | Type reference (TYPE) | SOTR_CONC | '001321AF52A31DED80C9653F4D26707E' | 20080404 | ||
4 | C_ERR_OBJECT_NOT_FOUND | Constant | Public | Type reference (TYPE) | TREX_RFC-RETURN_CODE | 2007 | Return Code | 20130626 | |
5 | C_INTERNAL_DBSL_ERR_OPERATION | Constant | Public | Type reference (TYPE) | SYSUBRC | 16 | Return Value of ABAP Statements | 20110812 | |
6 | C_INTERNAL_SQL_ERR_CODE | Constant | Public | Type reference (TYPE) | TREX_RFC-RETURN_CODE | 9999 | Return Code | 20100622 | |
7 | C_INTERNAL_SQL_ERR_MESSAGE | Constant | Private | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | 'internal SQL error occurred in DBSL' | Return Text | 20100622 | |
8 | MESSAGE | Instance attribute | Public | Type reference (TYPE) | STRING | 20080404 | |||
9 | RETURN_CODE | Instance attribute | Public | Type reference (TYPE) | TREX_RFC-RETURN_CODE | Return Code | 20100621 | ||
10 | RETURN_TEXT | Instance attribute | Public | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | Return Text | 20100621 | ||
11 | RETURN_TEXT_LONG | Instance attribute | Public | Type reference (TYPE) | STRING | 20121130 | |||
12 | SQL_STATEMENT | Instance attribute | Public | Type reference (TYPE) | STRING | 20100621 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | COLLECT_INTERNAL_ERROR_ATTRS | Static method | Private | Method | 20110421 | |
2 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20080404 |
3 | CREATE_BY_SQL_EXCEPTION | Static method | Public | Method | 20100621 |
Events
Class CX_TREX_SQL_EXCEPTION has no event.
Types
Class CX_TREX_SQL_EXCEPTION has no local type.
Method Signatures
Method COLLECT_INTERNAL_ERROR_ATTRS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ACTIVE_ATTRS | Value transfer | Type reference (TYPE) | STRING | 20110421 | |||
2 | Importing | SQL_EX_OBJ | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20110421 |
Method COLLECT_INTERNAL_ERROR_ATTRS on class CX_TREX_SQL_EXCEPTION has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CON_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | 20080404 | |||
2 | Importing | MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20080404 | |||
3 | Importing | PREVIOUS | Call by reference | Attribute reference (LIKE) | PREVIOUS | 20080404 | |||
4 | Importing | RETURN_CODE | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_CODE | 20100621 | |||
5 | Importing | RETURN_TEXT | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | 20100621 | |||
6 | Importing | RETURN_TEXT_LONG | Call by reference | Type reference (TYPE) | STRING | 20121130 | |||
7 | Importing | SQL_STATEMENT | Call by reference | Type reference (TYPE) | STRING | 20100621 | |||
8 | Importing | TEXTID | Call by reference | Attribute reference (LIKE) | TEXTID | 20080404 |
Method CONSTRUCTOR on class CX_TREX_SQL_EXCEPTION has no exception.
Method CREATE_BY_SQL_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | SQL_EX_OBJ | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20100622 | ||
2 | Importing | SQL_STATEMENT | Call by reference | Type reference (TYPE) | STRING | Executed SQL statement | 20100622 | ||
3 | Returning | TREX_SQL_EX | Value transfer | Object reference (TYPE REF TO) | CX_TREX_SQL_EXCEPTION | TREX SQL exception | 20100622 |
Method CREATE_BY_SQL_EXCEPTION on class CX_TREX_SQL_EXCEPTION has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 711 |