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 |
Explain how is siebel 7.x architecture different from siebel 6.x?
Is there any 'user property' to make the whole field in a b.c read only, by some condition. e.g:- if priority=closed the whole record should be read only
Explain Confiration of MVG?
how to make a field read-only based on user group?
How to specify a view to be displayed as aggregate view in siebel 7.7?
In MVG concept 1:M has only MVG applet but where as M:M has shuttel applet(Combination of Associate applet and Mvg applet) why?
Which etl tool you used for data loading?
Explain why is it not recommended to modify existing base tables?
What is eapps.cfg file. and what is its significance?
What is detailed category and what is its use in configuration?
What is TPM ?
Is it required to install gateway server before installing a Siebel server?