Hiiiiiiii
In google visualization I have put catch with System.Exception and put all
code in Try....
Bus still i m not able to catch the exception...........
Error Message is:---

System.Exception: Assertion Failed: no rows found in object

Class.GoogleViz.toJSONString: line 226, column 5
Class.HDSMarginAttainmentController.gethdsmarginattainment: line 34, column
16 External entry point

HDSMarginAttainmentController:- My controller class where I have written the
code of Chart.

On Thu, Aug 27, 2009 at 8:28 PM, ChartMan <[email protected]> wrote:

> nope. Please try and post organized questions in the group.
>
> Thanks
>
> ChartMan
>
>
> On Thu, Aug 27, 2009 at 5:33 PM, hemant solanki <[email protected]>wrote:
>
>> Hiiii
>> checked ur mail...
>> do u have any other example of error handling........
>>
>>
>> On Thu, Aug 27, 2009 at 7:12 PM, ChartMan <[email protected]> wrote:
>>
>>> See this example:
>>> http://savedbythegoog.appspot.com/?id=ag5zYXZlZGJ5dGhlZ29vZ3ISCxIJU2F2ZWRDb2RlGMb4zgEM
>>> Don't know about salesforce.com.
>>>
>>>
>>>
>>> On Thu, Aug 27, 2009 at 4:26 PM, hemant solanki <[email protected]>wrote:
>>>
>>>> Hii
>>>> thnx for ur reply
>>>> I checked given link but m not able to pick it up....
>>>> do u hav any example in which default exception is catched and throw sme
>>>> custom message.......
>>>> or any idea how to use addError method with salesforce.com
>>>> waiting for ur reply
>>>> plz help me out as I hav very serious deadlin with me.........
>>>>
>>>>   On Thu, Aug 27, 2009 at 5:37 PM, ChartMan <[email protected]>wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> There is no special mechanism to catch exceptions so you can use the
>>>>> default javascript try/catch. However for displaying a styled message once
>>>>> an exception is caught you can use our errors API -
>>>>> http://code.google.com/apis/visualization/documentation/reference.html#errordisplay
>>>>>
>>>>> ChartMan
>>>>>
>>>>>
>>>>> On Thu, Aug 27, 2009 at 1:47 PM, hemant solanki 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> Hiii
>>>>>> In google visualization how can we handle default exception, Actually
>>>>>> if in chart there r no records that time google visualization throws a
>>>>>> default exception I want to catch that exception and want to display some
>>>>>> custom message..........
>>>>>> Is it possible if yes than How???
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> >>>>>
>>>>>
>>>>
>>>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to