LibreOffice: CannotConvertException Exception Reference

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
Public Attributes | List of all members
CannotConvertException Exception Referencepublished

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

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.
long | Reason
| This member contains the reason that the conversion failed.
long | ArgumentIndex
| If the conversion of a method argument fails, this is the index of the value in the "IN" argument list.
Public Attributes inherited from Exception
string | Message
| gives a detailed description of the reason, why the exception was thrown.
com::sun::star::uno::XInterface | Context
| should contain a reference to the original, which raised the exception.

## Detailed Description

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

Developers Guide
  Professional UNO - Bridge - Exceptions and Errorcodes

## Member Data Documentation

## ◆ ArgumentIndex

long ArgumentIndex

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

[optional]

## ◆ DestinationTypeClass

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

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

## ◆ Reason

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