public class PluginVersionException extends Exception
On catching this exception, a message might be displayed to the user describing how to download the appropriate plugin version.
PluginNotFoundException
,
Serialized FormConstructor and Description |
---|
PluginVersionException(Plugin plugin,
String requiredVersion,
String versionFound)
Constructs a
PluginVersionException specifing the related plugin,
the required version and the version found on the clients browser. |
PluginVersionException(String requiredVersion,
String versionFound)
Constructs a
PluginVersionException specifing the required version
and the version found on the clients browser. |
Modifier and Type | Method and Description |
---|---|
Plugin |
getPlugin()
Returns the required plugin
|
String |
getRequiredVersion()
Returns the required version of the plugin
|
String |
getVersionFound()
Returns the plugin version found.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PluginVersionException(String requiredVersion, String versionFound)
PluginVersionException
specifing the required version
and the version found on the clients browser.
The requiredVersion
and versionFound
parameters are
of the format major.minor.revision
requiredVersion
- the required plugin versionversionFound
- the plugin version foundpublic PluginVersionException(Plugin plugin, String requiredVersion, String versionFound)
PluginVersionException
specifing the related plugin,
the required version and the version found on the clients browser.
The requiredVersion
and versionFound
parameters are
of the format major.minor.revision
plugin
- the required pluginrequiredVersion
- the required plugin versionversionFound
- the plugin version foundpublic String getRequiredVersion()
public String getVersionFound()
public Plugin getPlugin()
Copyright © 2009-2013. All Rights Reserved.