This article has been submitted by Ranjith. He is a Siebel certified consultant working on Siebel EAI.
Requirement:
Saving an exported file to the client machine running Internet explorer, allowing the user to choose the location. This called for a FileSaveAs dialog box popping up. After a lot of searching on the net, I found it could [...]
By neel + June 24th, 2008
I read this requirement somewhere few days ago. The solutions given for these were quite lengthy and inefficient. For example
Using string.indexOf to check for presence of @ and dot(.)
Loop for all the characters and verify if @ an dot sign is present or not.
I thought that there must be a better way to do it. I [...]
By neel + June 22nd, 2008
In this post I am just going to describe the how we can suppress all errors or some particular errors using error handling.
Suppressing all errors
Suppressing All Errors is very easy, all you need to do is just have blank catch statement for example
try
{
//some code
}
catch(e)
{ ; }
The above mentioned code will result in suppressing of all [...]
By neel + June 19th, 2008
In this post we will discuss throw keyword in detail.
What is throw?
In simple words throw is keyword used in error handling
Is throw keyword compulsory to use?
No, it is optional and in many cases it is not used.
What is the purpose of throw?
When we write a custom method then we have two choices.
By neel + June 18th, 2008
Practical Example:
Here is the usage of all the constructs in an example