dashboard-ui/modules/flvjs/utils/exception.js
2023-08-31 15:30:17 +02:00

1 line
2.1 KiB
JavaScript

define(["exports"],function(_exports){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.RuntimeException=_exports.NotImplementedException=_exports.InvalidArgumentException=_exports.IllegalStateException=void 0;var RuntimeException=function(){function RuntimeException(message){babelHelpers.classCallCheck(this,RuntimeException),this._message=message}return babelHelpers.createClass(RuntimeException,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),RuntimeException}(),IllegalStateException=(_exports.RuntimeException=RuntimeException,function(){babelHelpers.inherits(IllegalStateException,RuntimeException);var _super=_createSuper(IllegalStateException);function IllegalStateException(message){return babelHelpers.classCallCheck(this,IllegalStateException),_super.call(this,message)}return babelHelpers.createClass(IllegalStateException,[{key:"name",get:function(){return"IllegalStateException"}}]),IllegalStateException}()),IllegalStateException=(_exports.IllegalStateException=IllegalStateException,function(){babelHelpers.inherits(InvalidArgumentException,RuntimeException);var _super2=_createSuper2(InvalidArgumentException);function InvalidArgumentException(message){return babelHelpers.classCallCheck(this,InvalidArgumentException),_super2.call(this,message)}return babelHelpers.createClass(InvalidArgumentException,[{key:"name",get:function(){return"InvalidArgumentException"}}]),InvalidArgumentException}()),IllegalStateException=(_exports.InvalidArgumentException=IllegalStateException,function(){babelHelpers.inherits(NotImplementedException,RuntimeException);var _super3=_createSuper3(NotImplementedException);function NotImplementedException(message){return babelHelpers.classCallCheck(this,NotImplementedException),_super3.call(this,message)}return babelHelpers.createClass(NotImplementedException,[{key:"name",get:function(){return"NotImplementedException"}}]),NotImplementedException}());_exports.NotImplementedException=IllegalStateException});