all files / TypeScript.NET/source/System/Exceptions/ ArgumentOutOfRangeException.js

80.65% Statements 25/31
47.62% Branches 10/21
100% Functions 8/8
91.67% Lines 22/24
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 31 32 33 34 35 36 37 38 39 40                        22× 22× 22× 22×     22×        
/*!
 * @author electricessence / https://github.com/electricessence/
 * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
 * Based upon: https://msdn.microsoft.com/en-us/library/System.Exception%28v=vs.110%29.aspx
 */
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
(function (factory) {
    Eif (typeof module === 'object' && typeof module.exports === 'object') {
        var v = factory(require, exports); Iif (v !== undefined) module.exports = v;
    }
    else if (typeof define === 'function' && define.amd) {
        define(["require", "exports", "./ArgumentException"], factory);
    }
})(function (require, exports) {
    "use strict";
    var ArgumentException_1 = require("./ArgumentException");
    var NAME = 'ArgumentOutOfRangeException';
    var ArgumentOutOfRangeException = (function (_super) {
        __extends(ArgumentOutOfRangeException, _super);
        function ArgumentOutOfRangeException(paramName, actualValue, message, innerException) {
            Iif (message === void 0) { message = ' '; }
            Eif (innerException === void 0) { innerException = null; }
            _super.call(this, paramName, +("(" + actualValue + ") ") + message, innerException, function (_) {
                _.actualValue = actualValue;
            });
        }
        ArgumentOutOfRangeException.prototype.getName = function () {
            return NAME;
        };
        return ArgumentOutOfRangeException;
    }(ArgumentException_1.ArgumentException));
    exports.ArgumentOutOfRangeException = ArgumentOutOfRangeException;
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = ArgumentOutOfRangeException;
});
//# sourceMappingURL=ArgumentOutOfRangeException.js.map