com.bramosystems.oss.player.core.client
Class PluginNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bramosystems.oss.player.core.client.PluginNotFoundException
All Implemented Interfaces:
Serializable

public class PluginNotFoundException
extends Exception

Thrown to indicate that a required plugin 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 plugin.

Author:
Sikiru Braheem
See Also:
PluginVersionException, Serialized Form

Constructor Summary
PluginNotFoundException()
          Constructs a new PluginNotFoundException
PluginNotFoundException(Plugin plugin)
          Constructs a new PluginNotFoundException for the specified plugin
PluginNotFoundException(Plugin plugin, String message)
          Constructs a new PluginNotFoundException with the specified message
PluginNotFoundException(String message)
          Constructs a new PluginNotFoundException with the specified message
 
Method Summary
 Plugin getPlugin()
          Returns the required plugin
 
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

PluginNotFoundException

public PluginNotFoundException()
Constructs a new PluginNotFoundException


PluginNotFoundException

public PluginNotFoundException(Plugin plugin)
Constructs a new PluginNotFoundException for the specified plugin

Parameters:
plugin - the required plugin
Since:
1.1

PluginNotFoundException

public PluginNotFoundException(String message)
Constructs a new PluginNotFoundException with the specified message

Parameters:
message - describes the exception
Since:
1.1

PluginNotFoundException

public PluginNotFoundException(Plugin plugin,
                               String message)
Constructs a new PluginNotFoundException with the specified message

Parameters:
plugin - the required plugin
message - describes the exception
Since:
1.2.1
Method Detail

getPlugin

public Plugin getPlugin()
Returns the required plugin

Returns:
the required plugin
Since:
1.1


Copyright © 2009-2011. All Rights Reserved.