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-unsubscribe@...
For additional commands, e-mail:
interface-discuss-help@...