Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: test :: bridge ::

interface XBridgeTest
Base Interfaces
XBridgeTestXBridgeTestBase

XBridgeTestBase
(referenced interface's summary:)
* Monster test interface to test bridge calls. * An implementation of this object has to store given values and return whenever there * is an out param or return value.
Description
* Inherting from monster; adds raiseException(), attribute raising RuntimeException.

Methods' Summary
raiseException * the exception struct returned has to be filled with given arguments. * return value is for dummy.  
raiseRuntimeExceptionOneway * Throws runtime exception. * check remote bridges handle exceptions during oneway calls properly. * Note that on client side the execption may fly or not. When it flies, it should * have the proper message and context.  
Attributes' Summary
RuntimeException * raises runtime exception; * the exception struct returned has to be filled with formerly set test data.  
Methods' Details
raiseException
TestData
raiseException( [in] short  ArgumentPosition,
[in] string  Message,
[in] ::com::sun::star::uno::XInterface  Context )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
* the exception struct returned has to be filled with given arguments. * return value is for dummy.
raiseRuntimeExceptionOneway
[oneway] void
raiseRuntimeExceptionOneway( [in] string  Message,
[in] ::com::sun::star::uno::XInterface  Context );

Description
* Throws runtime exception. * check remote bridges handle exceptions during oneway calls properly. * Note that on client side the execption may fly or not. When it flies, it should * have the proper message and context.
Attributes' Details
RuntimeException
long RuntimeException;
Description
* raises runtime exception; * the exception struct returned has to be filled with formerly set test data.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.