EORAERROR - ODAC DB Exception

EORAERROR - ODAC DB Exception

We would like to handle exceptions according to the error number of the EORAERROR class.

I would like to know the defined error number and message-related meaning.

The following is an example of handling major exceptions when an error occurs when executing a DML statement in Delphi.

Except on E : EOraError  do

    begin

      if E.ErrorCode = ? then result := 'The same data exists'

      else if E.ErrorCode = ? then result := 'Required input is omitted'

      else if E.ErrorCode = ? then result := 'A value exceeding the specified level has been entered'

      else if E.ErrorCode = ? then result := 'Data type does not match'

      else  result := E.Message ;  

      Exit;

    end;

  End;