List Info

Thread: Re: info/cws mav21 : new ::com::sun::star::io::XSeekabl




Re: info/cws mav21 : new ::com::sun::star::io::XSeekabl
user name
2007-05-23 09:38:21
Stephan Bergmann wrote:
> ---8<---
> published service SequenceInputStream :
XSeekableInputStream
> {
>     /** allows to create a stream based on the
sequence.
>      */
>     createStreamFromSequence( [in] sequence<byte>
aData )
>         raises (
com::sun::star::lang::IllegalArgumentException );
> };
> ---8<---
> 
> Under what circumstances would IllegalArgumentException
be thrown?

You are right, it should not be thrown at all.
I was confused by internal usage of
XInitialization::initialize() in 
constructor implementation. But in case the generated by UNO
constructor 
generates the arguments list wrongly ( that sounds quite
unlikely ) it 
should handle the result exceptions itself.
I will remove the exception declaration.

Thanks,
Mikhail.

------------------------------------------------------------
---------
To unsubscribe, e-mail: interface-discuss-unsubscribeopenoffice.org
For additional commands, e-mail: interface-discuss-helpopenoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )