'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var _classCallCheck = _interopDefault(require('@babel/runtime/helpers/classCallCheck'));
var _possibleConstructorReturn = _interopDefault(require('@babel/runtime/helpers/possibleConstructorReturn'));
var _getPrototypeOf = _interopDefault(require('@babel/runtime/helpers/getPrototypeOf'));
var _inherits = _interopDefault(require('@babel/runtime/helpers/inherits'));
var Exception = _interopDefault(require('.'));

/**
 * data source not set exception
 */

var DataSourceNotSetException =
/*#__PURE__*/
function (_Exception) {
  _inherits(DataSourceNotSetException, _Exception);

  function DataSourceNotSetException() {
    var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'data source not found';

    _classCallCheck(this, DataSourceNotSetException);

    return _possibleConstructorReturn(this, _getPrototypeOf(DataSourceNotSetException).call(this, message, DataSourceNotSetException));
  }

  return DataSourceNotSetException;
}(Exception);

module.exports = DataSourceNotSetException;
//# sourceMappingURL=DataSourceNotSetException.js.map
