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?



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

Post New Answer

More Siebel Interview Questions

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)?

0 Answers  


About MVL(multivaluelink)?

5 Answers   IBM, TCS,


What are the different views available in Siebel?

0 Answers   Cap Gemini,


i need to invoke an external web service from siebel CRM using as input to the web service a value in business component field, i need to display the results in another applet asociated with a virtual business component, does anyone know how to do this? thanks

0 Answers  


what is Localisation?

5 Answers   Mannar Company, Mannaran, Satyam, SRM Infotech,


What is the function of swse on the web server? What is it?

0 Answers  


Suppose there is a search spec on bc, and applet both. Explain the execution of this scenario?

0 Answers  


What is constrainted picklist? Where you will drop the constraints?

3 Answers   Siebel,


best practices in scripting and workflows?

1 Answers   TCS,


Explain what is nameserver? What does it do?

0 Answers  


What is an extension table and how is it related to base table?

3 Answers   IBM, Siebel Systems,


What does install.ksh and imprep.ksh files do?

1 Answers   Siebel Systems,


Categories