Christoph Lutz wrote: > Hi Mathias, > >> I currently have no idea why you don't get the error message from Java. >> OTOH I think that the error message in an API call is a bug, so the >> behavior in Java is correct, why ever. A message box shouldn't be shown >> if no InteractionHandler set set. > > thats right, but OTOH a unresolved URL should not cause OOo to freeze...
As I already wrote: if this was reproducable it surely would be a bug - but only if it's not the file system that freezes. This has to be verified. > The idl-ref says: > > void insertDocumentFromURL( [in] string aURL, > [in] sequence< ::com::sun::star::beans::PropertyValue > > aOptions ) > raises( ::com::sun::star::lang::IllegalArgumentException, > ::com::sun::star::io::IOException ); > > I think that's all I need!? The problem is that the IOException is never > thrown. You are right, I must have been dreaming. :-) Then of course there's something wrong in the implementation of this interface that can be fixed without a change in the API. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
