interface XBridgeTest in module com::sun::star::test::bridge::

(Global Index)

Syntax

interface XBridgeTest : com::sun::star::test::bridge::XBridgeTestBase ;

Description

* Inherting from monster; adds raiseException(), attribute raising RuntimeException.

Method 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.

Method Details



raiseException

Syntax

com::sun::star::test::bridge::TestData raiseException (
short ArgumentPosition,
string Message,
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

Syntax

oneway void raiseRuntimeExceptionOneway (
string Message,
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.

Top of Page