Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: beans ::

unpublished constants group TolerantPropertySetResultType
Usage Restrictions
not published
Description
specifies the possible failure types when using the XTolerantMultiPropertySet interface.

It usually matches one of the exception types that may occur when using the XPropertySet or XMultiPropertySet interfaces.


Constants
SUCCESS the property has been successfully set or retrieved.  
UNKNOWN_PROPERTY the property is not available.  
ILLEGAL_ARGUMENT the value used with the property is not valid.  
PROPERTY_VETO the property could not be changed at that time.  
WRAPPED_TARGET a ::com::sun::star::lang::WrappedTargetException did occur.  
UNKNOWN_FAILURE the operation failed and the reason is not known.  
Constants' Details
SUCCESS
const short SUCCESS = 0;
Description
the property has been successfully set or retrieved.
UNKNOWN_PROPERTY
const short UNKNOWN_PROPERTY = 1;
Description
the property is not available.

For example if a UnknownPropertyException was catched.

ILLEGAL_ARGUMENT
const short ILLEGAL_ARGUMENT = 2;
Description
the value used with the property is not valid.

For example if a ::com::sun::star::lang::IllegalArgumentException was catched.

PROPERTY_VETO
const short PROPERTY_VETO = 3;
Description
the property could not be changed at that time.

For example if a PropertyVetoException was catched.

WRAPPED_TARGET
const short WRAPPED_TARGET = 4;
Description
a ::com::sun::star::lang::WrappedTargetException did occur.
UNKNOWN_FAILURE
const short UNKNOWN_FAILURE = 5;
Description
the operation failed and the reason is not known.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.