RE: [Axapta-Knowledge-Village] Why sentence try/catch is invisible for COM sessions in 2.5?

2005-04-18 Thread Raul Llorente Peña/OPENSOLUTIONS
s.com Para cc Asunto RE: [Axapta-Knowledge-Village] Why sentence try/catch is invisible for COM sessions in 2.5?   Try using   Throw exception::error instead of throw error(âââ).       From: Raul Llorente PeÃa/OPENSOLUTIONS [mailto:[EMAIL

RE: [Axapta-Knowledge-Village] Why sentence try/catch is invisible for COM sessions in 2.5?

2005-04-14 Thread Bayliss, Barry
try/catch is invisible for COM sessions in 2.5?   In 2.5, sentences blocks try/catch aren't managed by Axapta when session is a COM one.   Let's see this example code (doesn't matter wherever you put it to be executed);   TableErrors tableErrors; //A new tabl

Re: [Axapta-Knowledge-Village] Why sentence try/catch is invisible for COM sessions in 2.5?

2005-04-14 Thread Varden Morris
I have noticed this too Raul and it is still a puzzle up to this point for me. Raul Llorente Peña/OPENSOLUTIONS <[EMAIL PROTECTED]> wrote: In 2.5, sentences blocks try/catch aren't managed by Axapta when session is a COM one.   Let's see this example code (doesn't matter wherever you put it to

[Axapta-Knowledge-Village] Why sentence try/catch is invisible for COM sessions in 2.5?

2005-04-14 Thread Raul Llorente Peña/OPENSOLUTIONS
In 2.5, sentences blocks try/catch aren't managed by Axapta when session is a COM one. Let's see this example code (doesn't matter wherever you put it to be executed); TableErrors tableErrors; //A new table created, with only a string field called error.try{    throw error('Error!!');}catch (Ex