BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wanna Catch exceptions ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
Peck777
Guest





PostPosted: Mon Jul 10, 2006 3:40 pm    Post subject: Wanna Catch exceptions ? Reply with quote



Hi Folks !!

I have a new question : Can I intercept IW exceptions ?
because i made some tests with TADOQuery with violation key, and IW raised
the right exception. But the TApplicationEvents don't intercept it in the
UserSession unit neither the ServerController.
So, is there an IW event that handles those exceptions ???

Peck777
Back to top
Joel
Guest





PostPosted: Mon Jul 10, 2006 5:29 pm    Post subject: Re: Wanna Catch exceptions ? Reply with quote



You will have to reraise the exception.

In your except clause just call "raise" again.

"Peck777" <peck777 (AT) zebulon (DOT) com> wrote in message
news:44b22eaf$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi Folks !!

I have a new question : Can I intercept IW exceptions ?
because i made some tests with TADOQuery with violation key, and IW raised
the right exception. But the TApplicationEvents don't intercept it in the
UserSession unit neither the ServerController.
So, is there an IW event that handles those exceptions ???

Peck777


Back to top
Peck777
Guest





PostPosted: Tue Jul 11, 2006 4:30 pm    Post subject: Re: Wanna Catch exceptions ? Reply with quote



Thanks, but I don't wanna raise exception but "catch" exceptions raised by
IW standalone server.

Any way, I found the OnException event in ServerController class.

Bye.

"Joel" <nowhere (AT) nowhere (DOT) com> a écrit dans le message de news:
44b24815 (AT) newsgroups (DOT) borland.com...
Quote:
You will have to reraise the exception.

In your except clause just call "raise" again.

"Peck777" <peck777 (AT) zebulon (DOT) com> wrote in message
news:44b22eaf$1 (AT) newsgroups (DOT) borland.com...
Hi Folks !!

I have a new question : Can I intercept IW exceptions ?
because i made some tests with TADOQuery with violation key, and IW
raised the right exception. But the TApplicationEvents don't intercept it
in the UserSession unit neither the ServerController.
So, is there an IW event that handles those exceptions ???

Peck777




Back to top
Joel
Guest





PostPosted: Wed Jul 12, 2006 1:12 am    Post subject: Re: Wanna Catch exceptions ? Reply with quote

I use eurekalog for catching exceptions

"Peck777" <peck777 (AT) zebulon (DOT) com> wrote in message
news:44b38bbd (AT) newsgroups (DOT) borland.com...
Quote:
Thanks, but I don't wanna raise exception but "catch" exceptions raised by
IW standalone server.

Any way, I found the OnException event in ServerController class.

Bye.

"Joel" <nowhere (AT) nowhere (DOT) com> a écrit dans le message de news:
44b24815 (AT) newsgroups (DOT) borland.com...
You will have to reraise the exception.

In your except clause just call "raise" again.

"Peck777" <peck777 (AT) zebulon (DOT) com> wrote in message
news:44b22eaf$1 (AT) newsgroups (DOT) borland.com...
Hi Folks !!

I have a new question : Can I intercept IW exceptions ?
because i made some tests with TADOQuery with violation key, and IW
raised the right exception. But the TApplicationEvents don't intercept
it in the UserSession unit neither the ServerController.
So, is there an IW event that handles those exceptions ???

Peck777






Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.