@tsdotnet/exceptions
Version:
[](https://github.com/tsdotnet/exceptions/blob/master/LICENSE) [](https://www.npm
21 lines • 843 B
JavaScript
;
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT
* Based upon: https://msdn.microsoft.com/en-us/library/System.Exception%28v=vs.110%29.aspx
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const ArgumentException_js_1 = tslib_1.__importDefault(require("./ArgumentException.js"));
const NAME = 'ArgumentOutOfRangeException';
class ArgumentOutOfRangeException extends ArgumentException_js_1.default {
constructor(paramName, actualValue, message = ' ', innerException) {
super(paramName, `(${actualValue}) ` + message, innerException);
this.actualValue = actualValue;
}
getName() {
return NAME;
}
}
exports.default = ArgumentOutOfRangeException;
//# sourceMappingURL=ArgumentOutOfRangeException.js.map