@enonic/mock-xp
Version:
Mock Enonic XP API JavaScript Library
20 lines (19 loc) • 883 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NodeNotFoundException = exports.NODE_NOT_FOUND_EXCEPTION_NAME = void 0;
var tslib_1 = require("tslib");
var NotFoundException_1 = require("../exception/NotFoundException");
exports.NODE_NOT_FOUND_EXCEPTION_NAME = 'com.enonic.xp.node.NodeNotFoundException';
var NodeNotFoundException = (function (_super) {
tslib_1.__extends(NodeNotFoundException, _super);
function NodeNotFoundException(message) {
var _this = _super.call(this, message) || this;
if (Error.captureStackTrace) {
Error.captureStackTrace(_this, NodeNotFoundException);
}
_this.name = exports.NODE_NOT_FOUND_EXCEPTION_NAME;
return _this;
}
return NodeNotFoundException;
}(NotFoundException_1.NotFoundException));
exports.NodeNotFoundException = NodeNotFoundException;