(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.