Actually the language specification does not clearly defines if the caught exception is local variable or parameter. After some consideration, we decided that it's more like a parameter. As values of method parameters are passed to the method from outside, value of the exception thrown is passed within the catch block.
Best regards, Valentin Kipiatkov ----------------------------------------------------------- IntelliJ Software, http://www.intellij.com/ "Develop with pleasure" ----------------------------------------------------------- ----- Original Message ----- From: "Aldona Majorek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 9:18 AM Subject: [Eap-list] Exception name in catch statement is colored as a parameter > Hi > > I just played with colors for members, parameters and local variables. > It really works great, and I think I could stop using prefixes for > members and parameters now :-) > > What I noticed is that idea colors caught exception as a parameter. > Since it does not affect method signature and is not accessible from > outside of the method, I would rather expect it to be colored like > local variable. > > int method(int parameter) > int local; > try { > ... > } catch (Exception exception) > } > } > > :-) Ada > > ps. Really great work with Ariadna. > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
