Exceptions with support for attaching parameters