Try/Except issue with Intraweb ?
Posted: Tue 06 Jul 2010 19:34
I have an Intraweb application that uses ODAC.
In my Mainform, i have a try/except around a OraSession.Connect;
example
try
Usersession.orasession.connect;
except on
e:exception do
begin
webapplication.terminate('DB Error = '+e.message);
end;
end;
This does not seem to work at all.
on Orasession I set the error event to set a string to use, but this doesn't seem to exactly work either as planned.
Anyone deal with Intraweb and Odac ?
In my Mainform, i have a try/except around a OraSession.Connect;
example
try
Usersession.orasession.connect;
except on
e:exception do
begin
webapplication.terminate('DB Error = '+e.message);
end;
end;
This does not seem to work at all.
on Orasession I set the error event to set a string to use, but this doesn't seem to exactly work either as planned.
Anyone deal with Intraweb and Odac ?