Avoid to trigger an error.
Error to exception depends on error_reporting.