Top   Module   Use   Manual   Index 

com :: sun :: star :: script ::

constants group FailReason


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


Constants

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