Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of catch in escript?

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


Please Help Members By Posting Answers For Below Questions

What is user properties?

971


What is the difference between an organization and division in Siebel?

996


Explain how to create an event handler.

1021


How to convert single value fields into multivalue fields in the field object type found under business component?

953


Explain what is nameserver? What does it do?

867


Explain what is virtual bc? What is the use of vbc?

916


Explain the restrictions in siebel that comes while planning the networking topology.

910


Explain what is the difference between "picklist generic" and "picklist hierarchical" business components?

929


Explain if gateway server is not present cant we do load balancing?

925


How would you import url links into the s_lit base table?

872


What is if table in eim?

871


Can multiple presentation catalogs refer to one business model?

1012


What is the procedure to configure the static caching using the content group?

1033


What is eapps.cfg file?

969


What is applet toggle how many types are there?

924