EOracleError

You can use the CreateFmt constructor that is inherited from the base Exception class. For example:

raise EOracleError.CreateFmt('My error', []);
 
In C++Builder you can throw the exception like this:

throw(EOracleError("My error", 0));

You cannot set an error code though, you can only set the message.
 
Back
Top