on 10-13-2007 6:57 AM
Iaw the try and end try statements inthe proxy coding. what is the purpose of these statements?
Hi,
This allows you to CATCH exceptions inside the TRY....ENDTRY.
Exceptions can be raised when calling proxies. For example, System faults and Application faults.
The CATCH statement allows the exceptions to be caught.
TRY
Proxy call
CATCH System Fault
CATCH Application Fault
ENDTRY
Hope this explains the use.
Thanks
Colin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try{
}
Catch()
This is used to catch the exceptions in the coding,in my senario i ahve to check the data is in integer format,if it come other then that i have to raise the exception.
in that i case used this try and catch option.in ABAP u have lot of standard option which can raise exception.
Regards,
Phani
Reward Points If Helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sudhakar,
Basic java........
try{
//do stuff
}
Catch(Exception e)
{//do stuff}
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.