What is the use of catch in escript?
Answer / guest
The catch clause is used to handle the exception. To raise
an exception, use the throw statement. When you want to trap
potential errors generated by a block of code, place that
code in a try statement, and follow the try statement with a
catch statement. The catch statement is used to process the
exceptions that may occur in the manner you specify in the
exception_handling_block. The following example demonstrates
the general form of the try statement with the catch clause.
In this example, the script continues executing after the
error message is displayed:
try {
do_something;
}
catch (e) {
TheApplication().RaiseErrorText(Clib.rsprintf("Something bad
happened: %s",e.toString()));
}
| Is This Answer Correct ? | 3 Yes | 0 No |
I checked out one object from server to my local, after checking out my local Database and userid has been corrupted. now i want to release the lock. How can i do this, can any one help me regarding this?
What is the difference between pick applet and dynamic picklist?
Explain the restrictions in siebel that comes while planning the networking topology.
In link if we set Link Specification as "True" then what will be the expression given for link specification to access parent bc field value in child bc
What is the new layer in Siebel x version?
What are the differences between siebel 7.8 and 8.0?
what is the link specification?
How many type of siebel data model extensions are there?
What is the difference between mvg applet and a pick applet?
what is the difference between siebel 7.5 and 7.8? If we upgrade the application to 7.8 from 7.5 what are the areas we need to give importance from qa(testing) point of view?
State the layer of Siebel 7.x version which is new ?
how do you specify a view to be displayed as aggregate view in siebel 7.7?