Skip to content

/AWS1/CL_IN2CODESNIPPETERROR

Contains information about any errors encountered while trying to retrieve a code snippet.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_findingarn TYPE /AWS1/IN2FINDINGARN /AWS1/IN2FINDINGARN

The ARN of the finding that a code snippet couldn't be retrieved for.

iv_errorcode TYPE /AWS1/IN2CODESNIPPETERRORCODE /AWS1/IN2CODESNIPPETERRORCODE

The error code for the error that prevented a code snippet from being retrieved.

iv_errormessage TYPE /AWS1/IN2NONEMPTYSTRING /AWS1/IN2NONEMPTYSTRING

The error message received when Amazon Inspector failed to retrieve a code snippet.


Queryable Attributes

findingArn

The ARN of the finding that a code snippet couldn't be retrieved for.

Accessible with the following methods

Method Description
GET_FINDINGARN() Getter for FINDINGARN, with configurable default
ASK_FINDINGARN() Getter for FINDINGARN w/ exceptions if field has no value
HAS_FINDINGARN() Determine if FINDINGARN has a value

errorCode

The error code for the error that prevented a code snippet from being retrieved.

Accessible with the following methods

Method Description
GET_ERRORCODE() Getter for ERRORCODE, with configurable default
ASK_ERRORCODE() Getter for ERRORCODE w/ exceptions if field has no value
HAS_ERRORCODE() Determine if ERRORCODE has a value

errorMessage

The error message received when Amazon Inspector failed to retrieve a code snippet.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CODESNIPPETERRORLIST

TYPES TT_CODESNIPPETERRORLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_IN2CODESNIPPETERROR WITH DEFAULT KEY
.