RuntimeError = (require './RuntimeError.coffee').RuntimeError

class IllegalStateError extends RuntimeError
  constructor: (message) ->
    if !message? then message = ''
    super message

exports.IllegalStateError = IllegalStateError
