[Users] Minor question concerning ServerException class

Michael Pasternak mpastern at redhat.com
Sun Sep 8 09:20:20 UTC 2013


Hi Ricky,

On 09/06/2013 09:31 PM, Hopper, Richard wrote:
> Hi Michael,
> 
> While working with the ovirt-engine-sdk-java, 
> I came across a small issue concerning the ServerException class. I wrote a utility to handle different types of exceptions
> (ServerException being one of those) for our plugin and found that ServerException does not meet GWT's specific serialization requirements due to the lack of a no-arg
> constructor of any visibility level. Is there an explicit reason for the lack of such a constructor? 

no, not at all, addressed at [1].

[1] http://gerrit.ovirt.org/#/c/18960/

thanks for reporting this.

> I was able to work around this, it's just a minor concern as far as GWT
> goes, and it could be useful to others if such types were serializable as well.
> 
> Thanks,
> 
> - Ricky


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Users mailing list