on 12-26-2005 9:40 AM
IN WEBDYNPRO I WANT TO HANDLE EXCEPTION
SO IN TRY WHAT I HAVE TO WRITE
AND IN CATCH WHAT I HAVE TO WRITE
PLESE GIVE ME CODE
hi
In the method give the following code
try{
// your code
}
catch(Exception e){
wdComponentAPI.getMessageManager().raiseException("Exception"+e,true);
}
Regards,
Rathna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
bind this method to any action as action handler r event handler
public void method_name()
{
try
{
// your block of code
}
catch(Exception e)
{
wdcomponentAPI.getmessagemanager.raiseException(Exception +e,true);
}
}
hope this helps u,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.