Will this work with type of exceptions?