|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bramosystems.oss.player.core.client.PluginVersionException
public class PluginVersionException
Thrown to indicate that a required plugin version cannot be found on the client's browser.
On catching this exception, a message might be displayed to the user describing how to download the appropriate plugin version.
PluginNotFoundException
,
Serialized FormConstructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
Plugin |
getPlugin()
Returns the required plugin |
String |
getRequiredVersion()
Returns the required version of the plugin |
String |
getVersionFound()
Returns the plugin version found. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 foundMethod Detail |
---|
public String getRequiredVersion()
public String getVersionFound()
public Plugin getPlugin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |