Fixed Pattern match on Exception - Warning