LibreOffice Module cli_ure (master) 1
|
is used to mark a UNO method to throw exceptions. More...
Public Member Functions | |
ExceptionAttribute (Type[] raises) | |
initializes an instance with the specified values. More... | |
Properties | |
Type[] | Raises [get] |
Private Attributes | |
Type[] | m_raises |
is used to mark a UNO method to throw exceptions.
A method can be an ordinary interface method, a get or set method from an interface attribute, or the constructor methods of service creator classes. If there are no exceptions specified for a method then this attribute should not be applied. Because a <type scope="com.sun.star.uno">RuntimeException</type> can always be thrown it is not specified. Hence no ExceptionAttribute
should be applied in that case.
Definition at line 36 of file ExceptionAttribute.cs.
|
inline |
initializes an instance with the specified values.
raises | array of types of Exceptions which are declared in UNOIDL. It must not be null. |
Definition at line 44 of file ExceptionAttribute.cs.
References uno.ExceptionAttribute.m_raises.
|
private |
Definition at line 57 of file ExceptionAttribute.cs.
Referenced by uno.ExceptionAttribute.ExceptionAttribute().
|
get |
Definition at line 49 of file ExceptionAttribute.cs.