All files / output cx_sy_range_out_of_bounds.clas.mjs

48.38% Statements 15/31
100% Branches 2/2
25% Functions 1/4
48.38% Lines 15/31

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 311x 1x 1x 1x 1x 1x 1x 1x 1x 1x                   1x       1x         1x 1x 1x
const {cx_sy_data_access_error} = await import("./cx_sy_data_access_error.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cx_sy_range_out_of_bounds.clas.abap
class cx_sy_range_out_of_bounds extends cx_sy_data_access_error {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CX_SY_RANGE_OUT_OF_BOUNDS';
  static IMPLEMENTED_INTERFACES = ["IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE"];
  static ATTRIBUTES = {};
  static METHODS = {"IF_MESSAGE~GET_TEXT": {"visibility": "U", "parameters": {}}};
  constructor() {
    const sup = super();
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "SUPER": sup.FRIENDS_ACCESS_INSTANCE,
      "if_message$get_text": this.if_message$get_text.bind(this),
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async if_message$get_text() {
    let result = new abap.types.String({qualifiedName: "STRING"});
    result.set(abap.CharacterFactory.get(19, 'Range out of bounds'));
    return result;
  }
}
abap.Classes['CX_SY_RANGE_OUT_OF_BOUNDS'] = cx_sy_range_out_of_bounds;
export {cx_sy_range_out_of_bounds};