SAP ABAP Class CX_ADT_REST (Shared exceptions for resource/service framework)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-AIE (Application Component) Installation and Infrastructure for ABAP Tools in Eclipse
⤷
SADT_REST (Package) REST Framework
⤷
⤷
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 | 20101214 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_T100_MESSAGE | Interface for Accessing T100 Texts | 20101214 |
Meta Relationship - Used By
Properties
| Class | CX_ADT_REST | |
| Short Description | Shared exceptions for resource/service framework | |
| 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 | SADT_REST | REST Framework |
| Created | 20101210 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_T100_MESSAGE | Interface for Accessing T100 Texts | 20101214 |
Friends
Class CX_ADT_REST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'com.sap.adt.communicationFramework.subType' | 20101221 | |||
| 2 | Constant | Public | Type reference (TYPE) | I | 423 | 20101221 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | 451 | 20101221 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'LONGTEXT' | 20101221 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'URI' | 20110914 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Message Variable 1 | 20101214 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Message Variable 2 | 20101214 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Message Variable 3 | 20101214 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | SYMSGV | Message Variable 4 | 20101214 | |||
| 10 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_ADT_EXCEPTION_PROPERTIES | Exception properties | 20101214 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | SADT_EXC_TYPE | Exception type | 20101214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20101214 | |
| 2 | Static method | Public | Method | Factory method for properties object | 20101214 | |
| 3 | Static method | Public | Method | Creates a textid from an exception text | 20101214 | |
| 4 | Static method | Public | Method | Creates a textid from message parameters | 20101214 | |
| 5 | Instance method | Public | Method | Returns the http status for this exception e.g. 404 | 20101214 | |
| 6 | Static method | Public | Method | Returns the longtext for an exception | 20101214 | |
| 7 | Static method | Public | Method | Returns message long text | 20101214 | |
| 8 | Instance method | Public | Method | Returns the namespace the exception belongs to | 20101214 | |
| 9 | Instance method | Public | Method | Returns the type of the exception | 20101214 | |
| 10 | Instance method | Public | Method | Get related URI for this exception | 20110914 | |
| 11 | Instance method | Public | Method | Set related URI for this exception | 20110914 |
Events
Class CX_ADT_REST has no event.
Types
Class CX_ADT_REST has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | 20101214 | ||||
| 2 | MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | 20101214 | ||||
| 3 | MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | 20101214 | ||||
| 4 | MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | 20101214 | ||||
| 5 | PREVIOUS | Call by reference | Attribute reference (LIKE) | PREVIOUS | 20101214 | ||||
| 6 | PROPERTIES | Call by reference | Object reference (TYPE REF TO) | IF_ADT_EXCEPTION_PROPERTIES | 20101214 | ||||
| 7 | SUBTYPE | Call by reference | Type reference (TYPE) | SADT_EXC_TYPE | 20101214 | ||||
| 8 | TEXTID | Call by reference | Attribute reference (LIKE) | IF_T100_MESSAGE=>T100KEY | 20101214 |
Method CONSTRUCTOR on class CX_ADT_REST has no exception.
Method CREATE_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Object reference (TYPE REF TO) | IF_ADT_EXCEPTION_PROPERTIES | Exception properties | 20101214 |
Method CREATE_PROPERTIES on class CX_ADT_REST has no exception.
Method CREATE_TEXTID_FROM_EXC_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Exception class whose text shall be raised | 20101214 | |||
| 2 | RESULT | Value transfer | Attribute reference (LIKE) | IF_T100_MESSAGE=>T100KEY | T100 message text id | 20101214 |
Method CREATE_TEXTID_FROM_EXC_TEXT on class CX_ADT_REST has no exception.
Method CREATE_TEXTID_FROM_MSG_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSGID | Call by reference | Type reference (TYPE) | SYMSGID | SY-MSGID | Message id | 20101214 | ||
| 2 | MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | SY-MSGNO | Message number | 20101214 | ||
| 3 | RESULT | Value transfer | Attribute reference (LIKE) | IF_T100_MESSAGE=>T100KEY | T100 message text id | 20101214 |
Method CREATE_TEXTID_FROM_MSG_PARAMS on class CX_ADT_REST has no exception.
Method GET_HTTP_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | 20101214 |
Method GET_HTTP_STATUS on class CX_ADT_REST has no exception.
Method GET_LONGTEXT_FROM_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20101214 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING | Longtext | 20101214 |
Method GET_LONGTEXT_FROM_EXCEPTION on class CX_ADT_REST has no exception.
Method GET_LONGTEXT_FROM_MSG_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSGID | Call by reference | Type reference (TYPE) | SYMSGID | SY-MSGID | 20110721 | |||
| 2 | MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | SY-MSGNO | 20110721 | |||
| 3 | MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | SY-MSGTY | 20110721 | |||
| 4 | MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV1 | 20110721 | |||
| 5 | MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV2 | 20110721 | |||
| 6 | MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV3 | 20110721 | |||
| 7 | MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV4 | 20110721 | |||
| 8 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20101214 |
Method GET_LONGTEXT_FROM_MSG_PARAMS on class CX_ADT_REST has no exception.
Method GET_NAMESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | SADT_NAMESPACE | Namespace | 20101214 |
Method GET_NAMESPACE on class CX_ADT_REST has no exception.
Method GET_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | Namespace | 20101214 |
Method GET_TYPE on class CX_ADT_REST has no exception.
Method GET_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20110914 |
Method GET_URI on class CX_ADT_REST has no exception.
Method SET_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | URI | Call by reference | Type reference (TYPE) | STRING | 20110914 |
Method SET_URI on class CX_ADT_REST has no exception.
Meta Relationship - Used By (full list)
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |