changed exception parameters