UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

20 lines (19 loc) 810 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotFoundException = exports.NOT_FOUND_EXCEPTION_NAME = void 0; var tslib_1 = require("tslib"); var BaseException_1 = require("./BaseException"); exports.NOT_FOUND_EXCEPTION_NAME = 'com.enonic.xp.exception.NotFoundException'; var NotFoundException = (function (_super) { tslib_1.__extends(NotFoundException, _super); function NotFoundException(message) { var _this = _super.call(this, message) || this; if (Error.captureStackTrace) { Error.captureStackTrace(_this, NotFoundException); } _this.name = exports.NOT_FOUND_EXCEPTION_NAME; return _this; } return NotFoundException; }(BaseException_1.BaseException)); exports.NotFoundException = NotFoundException;