LibreOffice: com::sun::star::script::FailReason Constant Group Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
com::sun::star::script::FailReason Constant Group Referencepublished

These values specify the reason why a type conversion failed. More...

## Variables
const long | OUT_OF_RANGE = 1
| The given value does not fit in the range of the destination type.
const long | IS_NOT_NUMBER = 2
| The given value cannot be converted to a number.
const long | IS_NOT_ENUM = 3
| The given value cannot be converted to an enumeration.
const long | IS_NOT_BOOL = 4
| The given value cannot be converted to a boolean.
const long | NO_SUCH_INTERFACE = 5
| The given value is not an interface or cannot queried to the right interface.
const long | SOURCE_IS_NO_DERIVED_TYPE = 6
| The given value cannot be converted to right structure or exception type.
const long | TYPE_NOT_SUPPORTED = 7
| The type class of the given value is not supported.
const long | INVALID = 8
| The given value cannot be converted and none of the other reasons match.
const long | NO_DEFAULT_AVAILABLE = 9
| This value is deprecated.
const long | UNKNOWN = 10
| This value is deprecated.

## Detailed Description

These values specify the reason why a type conversion failed.

## Variable Documentation

## ◆ INVALID

const long INVALID = 8

The given value cannot be converted and none of the other reasons match.

## ◆ IS_NOT_BOOL

const long IS_NOT_BOOL = 4

The given value cannot be converted to a boolean.

## ◆ IS_NOT_ENUM

const long IS_NOT_ENUM = 3

The given value cannot be converted to an enumeration.

## ◆ IS_NOT_NUMBER

const long IS_NOT_NUMBER = 2

The given value cannot be converted to a number.

## ◆ NO_DEFAULT_AVAILABLE

const long NO_DEFAULT_AVAILABLE = 9

This value is deprecated.

Do not use.

Deprecated

## ◆ NO_SUCH_INTERFACE

const long NO_SUCH_INTERFACE = 5

The given value is not an interface or cannot queried to the right interface.

## ◆ OUT_OF_RANGE

const long OUT_OF_RANGE = 1

The given value does not fit in the range of the destination type.

## ◆ SOURCE_IS_NO_DERIVED_TYPE

const long SOURCE_IS_NO_DERIVED_TYPE = 6

The given value cannot be converted to right structure or exception type.

## ◆ TYPE_NOT_SUPPORTED

const long TYPE_NOT_SUPPORTED = 7

The type class of the given value is not supported.

## ◆ UNKNOWN

const long UNKNOWN = 10

This value is deprecated.

Do not use.

Deprecated