Added BadRequest exception.