Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

TypeError for exception set in ResultSet

$
0
0

Hi,

 

When there is an exception in the data service adapter, we can set it in the ResultSet.error to pass it to the GUI. In the GUI, we should be able to access it in as an Error object.

 

But when I set the exception in the data service adapter, its not getting converted to AS Error object. Error object is null and I see the following message in the GUI log.

 

Error #1034: Type Coercion failed: cannot convert Object@1c49cad9 to Error

 

Is this a known issue or am I missing something? I tried with both a custom exception as well as a standard IllegalArguementException.

 

Thanks,

Ravikumar


Viewing all articles
Browse latest Browse all 193198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>