throw exception, instead of printing message