LibreOffice LibreOffice 25.2 SDK API Reference

List of all members
CannotRegisterImplementationException Exception Referencepublished

is thrown when an application tries to register a new component (implementation) using the XImplementationRegistration::registerImplementation() method, but the component cannot be registered. More...

`import"CannotRegisterImplementationException.idl";`

Inheritance diagram for CannotRegisterImplementationException:

## Additional Inherited Members
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 thrown when an application tries to register a new component (implementation) using the XImplementationRegistration::registerImplementation() method, but the component cannot be registered.

The reason for this exception could be:

- the component cannot be found or cannot be loaded (missing path or classpath)
- the component doesn't provide the necessary specifications (exported registration functions for a C++ component (shared library) or a named registration class with the appropriate methods for a Java component (normally a jar file)).

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

- com/sun/star/registry/CannotRegisterImplementationException.idl