Skip to content

/AWS1/CL_AANJOBERROR

Contains the details about the policy generation error.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_code TYPE /AWS1/AANJOBERRORCODE /AWS1/AANJOBERRORCODE

The job error code.

iv_message TYPE /AWS1/AANSTRING /AWS1/AANSTRING

Specific information about the error. For example, which service quota was exceeded or which resource was not found.


Queryable Attributes

code

The job error code.

Accessible with the following methods

Method Description
GET_CODE() Getter for CODE, with configurable default
ASK_CODE() Getter for CODE w/ exceptions if field has no value
HAS_CODE() Determine if CODE has a value

message

Specific information about the error. For example, which service quota was exceeded or which resource was not found.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value