public class IlvPluginException extends Exception
Modifier and Type | Field and Description |
---|---|
static String |
BAD_VERSION_ID_ERROR
This error ID indicates that a bad version identifier
has been set to a plug-in.
|
static String |
DEPENDENCY_ERROR
This error ID indicates that the plugin manager could not
resolve dependencies between plugins.
|
static String |
MANIFEST_ERROR
This error ID indicates that an error occurred while parsing
a plug-in manifest file.
|
static String |
PLUGIN_INSTALLER_ERROR
This error ID indicates that an error occurred while
invoking the
IlvPluginInstaller of a plug-in. |
static String |
RESOURCE_FILE_ERROR
This error ID indicates that it was not possible to locate
a resource file specified in the manifest file of a plug-in.
|
static String |
SETTINGS_OBJECTS_ERROR
This error ID indicates that an error occurred while
installing or uninstalling objects that were declared in the settings
of a plug-in, as extensions of a docking area or document templates.
|
static String |
UNKNOWN_ERROR
This error ID indicates that an unknown error occurred while
installing or uninstalling a plug-in.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorID()
Returns the ID of the error.
|
Exception |
getException()
Returns the exception that occurred while installing or uninstalling
the plugin.
|
IlvPlugin |
getPlugin()
Returns the plugin which installation or uninstallation has generated
an exception.
|
boolean |
isFatal()
Determines whether this exception is fatal for the installation
of the plug-in that generated this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String MANIFEST_ERROR
public static final String BAD_VERSION_ID_ERROR
public static final String DEPENDENCY_ERROR
public static final String RESOURCE_FILE_ERROR
public static final String SETTINGS_OBJECTS_ERROR
public static final String PLUGIN_INSTALLER_ERROR
IlvPluginInstaller
of a plug-in.public static final String UNKNOWN_ERROR
public IlvPlugin getPlugin()
public Exception getException()
The returned exception can be null
if the
problem was not due to an exception that has been internally
caught.
In any case, the message of this plugin exception provides a description of the problem that occurred.
Throwable.getMessage()
public boolean isFatal()
true
if this exception causes the plug-in
to stop its installation process. This method returns
false
is the installation of the plug-in can continue.public String getErrorID()
MANIFEST_ERROR
BAD_VERSION_ID_ERROR
DEPENDENCY_ERROR
RESOURCE_FILE_ERROR
SETTINGS_OBJECTS_ERROR
PLUGIN_INSTALLER_ERROR
UNKNOWN_ERROR
The Throwable.getMessage()
method provides a description
on the error that occurred.
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.