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
⤷
⤷
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 | Instance attribute | Public | Type reference (TYPE) | DBCON_NAME | 20080404 | ||||
| 2 | Constant | Public | Type reference (TYPE) | SOTR_CONC | '001321AF52A31DED80C98814369A507E' | 20080404 | |||
| 3 | Constant | Public | Type reference (TYPE) | SOTR_CONC | '001321AF52A31DED80C9653F4D26707E' | 20080404 | |||
| 4 | Constant | Public | Type reference (TYPE) | TREX_RFC-RETURN_CODE | 2007 | Return Code | 20130626 | ||
| 5 | Constant | Public | Type reference (TYPE) | SYSUBRC | 16 | Return Value of ABAP Statements | 20110812 | ||
| 6 | Constant | Public | Type reference (TYPE) | TREX_RFC-RETURN_CODE | 9999 | Return Code | 20100622 | ||
| 7 | Constant | Private | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | 'internal SQL error occurred in DBSL' | Return Text | 20100622 | ||
| 8 | Instance attribute | Public | Type reference (TYPE) | STRING | 20080404 | ||||
| 9 | Instance attribute | Public | Type reference (TYPE) | TREX_RFC-RETURN_CODE | Return Code | 20100621 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | Return Text | 20100621 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | STRING | 20121130 | ||||
| 12 | Instance attribute | Public | Type reference (TYPE) | STRING | 20100621 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | 20110421 | ||
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20080404 | |
| 3 | 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 | ACTIVE_ATTRS | Value transfer | Type reference (TYPE) | STRING | 20110421 | ||||
| 2 | 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 | CON_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | 20080404 | ||||
| 2 | MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20080404 | ||||
| 3 | PREVIOUS | Call by reference | Attribute reference (LIKE) | PREVIOUS | 20080404 | ||||
| 4 | RETURN_CODE | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_CODE | 20100621 | ||||
| 5 | RETURN_TEXT | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | 20100621 | ||||
| 6 | RETURN_TEXT_LONG | Call by reference | Type reference (TYPE) | STRING | 20121130 | ||||
| 7 | SQL_STATEMENT | Call by reference | Type reference (TYPE) | STRING | 20100621 | ||||
| 8 | 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 | SQL_EX_OBJ | Call by reference | Object reference (TYPE REF TO) | CX_SQL_EXCEPTION | Exception Class for SQL Error | 20100622 | |||
| 2 | SQL_STATEMENT | Call by reference | Type reference (TYPE) | STRING | Executed SQL statement | 20100622 | |||
| 3 | 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 |