constants group FailReason in module com::sun::star::script::

(Global Index)

Syntax

constants group FailReason;

Description

these values are used to specify the reason why a type conversion failed.

Constants Summary

OUT_OF_RANGE The given value fits not in the range of destination type.

IS_NOT_NUMBER The given value cannot be converted to a number.

IS_NOT_ENUM The given value cannot be converted to an enumeration.

IS_NOT_BOOL The given value cannot be converted to a boolean.

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

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

TYPE_NOT_SUPPORTED The type class of the given value is not supported.

INVALID The given value cannot be converted and no one of the other reasons match.

NO_DEFAULT_AVAILABLE

UNKNOWN

Field Details



OUT_OF_RANGE

Syntax

const long  OUT_OF_RANGE = 1;

Description

The given value fits not in the range of destination type.


IS_NOT_NUMBER

Syntax

const long  IS_NOT_NUMBER = 2;

Description

The given value cannot be converted to a number.


IS_NOT_ENUM

Syntax

const long  IS_NOT_ENUM = 3;

Description

The given value cannot be converted to an enumeration.


IS_NOT_BOOL

Syntax

const long  IS_NOT_BOOL = 4;

Description

The given value cannot be converted to a boolean.


NO_SUCH_INTERFACE

Syntax

const long  NO_SUCH_INTERFACE = 5;

Description

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


SOURCE_IS_NO_DERIVED_TYPE

Syntax

const long  SOURCE_IS_NO_DERIVED_TYPE = 6;

Description

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


TYPE_NOT_SUPPORTED

Syntax

const long  TYPE_NOT_SUPPORTED = 7;

Description

The type class of the given value is not supported.


INVALID

Syntax

const long  INVALID = 8;

Description

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


NO_DEFAULT_AVAILABLE

[ DEPRECATED ]

Syntax

const long  NO_DEFAULT_AVAILABLE = 9;

Description


UNKNOWN

[ DEPRECATED ]

Syntax

const long  UNKNOWN = 10;

Description

Top of Page