Catching exceptions for code injection, which may fail in legitimate cases.