Skip to content

/AWS1/CL_LMDERROROBJECT

An object that contains error information.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_errormessage TYPE /AWS1/LMDERRORMESSAGE /AWS1/LMDERRORMESSAGE

A human-readable error message.

iv_errortype TYPE /AWS1/LMDERRORTYPE /AWS1/LMDERRORTYPE

The error type.

iv_errordata TYPE /AWS1/LMDERRORDATA /AWS1/LMDERRORDATA

Machine-readable error data.

it_stacktrace TYPE /AWS1/CL_LMDSTACKTRACEENTRIE00=>TT_STACKTRACEENTRIES TT_STACKTRACEENTRIES

Stack trace information for the error.


Queryable Attributes

ErrorMessage

A human-readable error message.

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

ErrorType

The error type.

Accessible with the following methods

Method Description
GET_ERRORTYPE() Getter for ERRORTYPE, with configurable default
ASK_ERRORTYPE() Getter for ERRORTYPE w/ exceptions if field has no value
HAS_ERRORTYPE() Determine if ERRORTYPE has a value

ErrorData

Machine-readable error data.

Accessible with the following methods

Method Description
GET_ERRORDATA() Getter for ERRORDATA, with configurable default
ASK_ERRORDATA() Getter for ERRORDATA w/ exceptions if field has no value
HAS_ERRORDATA() Determine if ERRORDATA has a value

StackTrace

Stack trace information for the error.

Accessible with the following methods

Method Description
GET_STACKTRACE() Getter for STACKTRACE, with configurable default
ASK_STACKTRACE() Getter for STACKTRACE w/ exceptions if field has no value
HAS_STACKTRACE() Determine if STACKTRACE has a value