LibreOffice: CannotConvertException Exception Reference

LibreOffice LibreOffice 5.1 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
CannotConvertException Exception Referencepublished

This exception is thrown to indicate that a type conversion can not be performed. More...

`import"CannotConvertException.idl";`

Inheritance diagram for CannotConvertException:

## Public Attributes
com::sun::star::uno::TypeClass | DestinationTypeClass
| This member contains the class of the type to which the value should be converted. More...
long | Reason
| This member contains the reason that the conversion failed. More...
long | ArgumentIndex
| If the conversion of a method argument fails, this is the index of the value in the "IN" argument list. More...
Public Attributes inherited from Exception
string | Message
| gives a detailed description of the reason, why the exception was thrown. More...
com::sun::star::uno::XInterface | Context
| should contain a reference to the original, which raised the exception. More...

## Detailed Description

This exception is thrown to indicate that a type conversion can not be performed.

Developers Guide
  ProUNO - Bridge - Exceptions and Errorcodes

## Member Data Documentation

long ArgumentIndex

If the conversion of a method argument fails, this is the index of the value in the "IN" argument list.

[optional]

com::sun::star::uno::TypeClass DestinationTypeClass

This member contains the class of the type to which the value should be converted.

long Reason

This member contains the reason that the conversion failed.

Have a look at FailReason.

The documentation for this exception was generated from the following file:

- com/sun/star/script/CannotConvertException.idl