LibreOffice: UnsupportedNameClashException Exception Reference

LibreOffice LibreOffice 7.4 SDK API Reference

Loading...
Searching...
No Matches
Public Attributes | List of all members
UnsupportedNameClashException Exception Referencepublished
Inheritance diagram for UnsupportedNameClashException:

## Public Attributes
long | NameClash
| contains the NameClash that is not supported.
Public Attributes inherited from Exception
string | Message
| gives a detailed description of the reason, why the exception was thrown.
com::sun::star::uno::XInterface | Context
| should contain a reference to the original, which raised the exception.

## Detailed Description

This exception must be thrown in case the requested name clash directive is not supported, because it is not possible to implement it or if it is just not (yet) implemented.

Command "transfer": Used if the name clash directive specified in parameter NameClash of the supplied TransferInfo is not supported. For example, if the NameClash was set to NameClash::ERROR, to NameClash::RENAME or to NameClash::ASK, the implementation must be able determine whether there are existing data. This exception must also be used if NameClash::RENAME was specified and the implementation is unable to create a valid new name after a suitable number of tries.

Command "insert": Used if the parameter ReplaceExisting of the supplied InsertCommandArgument was set to `FALSE` and the implementation is unable to determine whether there are existing data. The member NameClash of the exception must be set to NameClash::ERROR

Version
  1.0

See also
  Content

## Member Data Documentation

## ◆ NameClash

long NameClash

contains the NameClash that is not supported.

The documentation for this exception was generated from the following file:

- com/sun/star/ucb/UnsupportedNameClashException.idl