-
Book Overview & Buying
-
Table Of Contents
Microsoft Dynamics CRM 2011 Scripting Cookbook
By :
While this recipe will most likely not introduce you to anything specific to Dynamics CRM, the error-handling procedures described here are specific to the JavaScript language and can easily be applied in the context of Dynamics CRM. Full support of the JavaScript try/catch exception-handler block was introduced around the release of Internet Explorer Version 6.
JavaScript defines six standard and one custom error type to allow you to throw your own customized exceptions. They are given in the following table:
|
Error |
Details |
|---|---|
|
|
This error occurs while encoding or decoding an URI. It is not a common occurrence in Dynamics CRM. |
|
|
This error occurs when the number is out of range. It has a quite common occurrence when performing calculations, especially when overriding the standard taxation in Dynamics CRM. |
|
|
This error is caused by an illegal reference; this is returned in Internet Explorer as a |
|
|
Change the font size
Change margin width
Change background colour