Error Handling The OracleError object collects information relevant to errors and warnings generated by the Oracle server. See “OracleError Class” for more information. The OracleException object is created and thrown when the Oracle server returns an error. Exceptions generated by the data provider are returned as standard run-time exceptions. If an exception is raised by an error from the data source, it will be returned as a provider-specific exception. If the exception is raised by the data provider itself, it is returned as a standard .NET Framework exception. Some provider-specific code is required when handling provider-specific exceptions. See “OracleException Class” for more information.