Answer Posted / 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 |
Post New Answer View All Answers
How do you invoke wfs?
Explain how to create an extension table with an intersection table?
What is the difference between mvg applet and pick applet?
How do you display the number of records in a picklist(combo box/drop down) not the records in the pickapplet, in just 3 rows and not 5 rows(which is the default)?
Explain is it required to install gateway server before installing a siebel server?
Explain the use of catch in escript?
What is the use of the indirect multivalue link and how do you configure it?
How to edit the joined fields values in join?
Explain what is detailed category in configuration, and its use?
What is foreign key table in siebel?
What is detailed category?
Explain how is load balancing maintained in siebel?
What is virtual bc?
What is detailed category in configuration?
How would you import url links into the s_lit base table?