LibreOffice
LibreOffice 7.4 SDK API Reference
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:
Exception

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