LibreOffice
LibreOffice 24.8 SDK API Reference
Loading...
Searching...
No Matches
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:
Exception

Additional Inherited Members

- 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

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: