LibreOffice LibreOffice 25.2 SDK API Reference

Public Attributes | List of all members
MalformedDataException Exception Referencepublished

is raised when the data of a component schema, layer or update is not well-formed, violates the schema or is otherwise invalid. More...

`import"MalformedDataException.idl";`

Inheritance diagram for MalformedDataException:

## Public Attributes
any | ErrorDetails
| data that provides more detailed information about the reason and location of the error. More...
Public Attributes inherited from Exception
string | Message
| gives a detailed description of the reason, why the exception was thrown. More...
com::sun::star::uno::XInterface | Context
| should contain a reference to the original, which raised the exception. More...

## Detailed Description

is raised when the data of a component schema, layer or update is not well-formed, violates the schema or is otherwise invalid.

Since
  OOo 1.1.2

## Member Data Documentation

## ◆ ErrorDetails

any ErrorDetails

data that provides more detailed information about the reason and location of the error.

Typically this member should contain an exception characterizing the error in detail.

For example the following exceptions may be used:

com::sun::star::container::ElementExistException

  for duplicate nodes.

com::sun::star::container::NoSuchElementException

  for nodes that are not in the schema.

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

  for properties having the wrong or an invalid type.

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

  for duplicate properties.

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

  for properties that are not in the schema.

com::sun::star::lang::IllegalArgumentException

  for data values (names,attributes,etc.) that are invalid.

com::sun::star::lang::IllegalAccessException

  for changes that violate access restrictions.

com::sun::star::lang::NoSupportException
  for features that are not supported by the current implementation.

If no more detail information is available, this may be left `VOID`.

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

- com/sun/star/configuration/backend/MalformedDataException.idl