on 03-06-2008 4:47 AM
Hi All,
Does the method defined in the component interface support exception throwing?
I can only find the place to set the return type and parameter. Everytime I add throws sentence after the method definition and try to save the code, the throws sentence would be eliminated.
Thanks,
YiNing
Hi YiNing,
NWDS will take only the signature for methods what u define while creating the method. In the implementation if u try to add something , it will remove that as soon as u save it.
Exception is available only with 7.1.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Adjacent to the paramenters tab,there is also a Exceptions tab.Which version you are using?
Regards,
Sudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First of all you cant add or modify the method's signature from the implementation tab. It has to be done through the methods tab and through the new method wizard.
You cant throw excetions here through the methods.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.