I wonder how people usually do to handle multiple exception from javascript in GWT? for example, this method from the IndexedDB specification:
IDBRequest add( in any value, in optional any key ) raises (IDBDatabaseException, DOMException);
It can raise two JavaScript exception objects, so i have no idea how to implement wrapper for it in Java.