vylan / javaapiforkml

Automatically exported from code.google.com/p/javaapiforkml
0 stars 0 forks source link

Add marshal methods to raise exceptions instead of return codes #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The marshal API uses return values instead of raising exceptions when errors 
occur. I would prefer for the marshal methods to either raise an exception if 
there is an IOException trying to write to the OutputStream or   to provide a 
callback oriented API -> onSuccess/onException that will allow us to have 
access to the root cause of the errors. 

Original issue reported on code.google.com by ar...@arielvalentin.com on 15 Sep 2012 at 2:33