Issuing warnings instead of exceptions