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 |
What are the steps for creating a dynamic pick list?
Explain how would you delete or merge rows that have the same primary user key and different conflict ids using eim?
Describe the relationship between base table and extension table?
What are the steps required to set the policy expression?
What difference between join specification and join definition?
What is s_party table?
Explain how is siebel 7.x data model is different from siebel 6.0 data model?
How to convert single value fields into multivalue fields in the field object type found under business component?
Give an example of the eim delete process's behavior?
i have two business components but iwant to make visible applet to only one business component
What is the function of nameserver?
What is the use of detailed category in configuration?