com.virtuosotechnologies.lib.plugin
Class DuplicatePluginException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.virtuosotechnologies.lib.plugin.PluginException
              extended bycom.virtuosotechnologies.lib.plugin.DuplicatePluginException
All Implemented Interfaces:
Serializable

public class DuplicatePluginException
extends PluginException

Tried to plug a duplicate plugin ID.

See Also:
Serialized Form

Constructor Summary
DuplicatePluginException(PluginInfo duplicatePlugin, PluginInfo existingPlugin)
          Constructor.
 
Method Summary
 PluginInfo getDuplicatePluginInfo()
          Get the plugin info for the duplicate plugin
 PluginInfo getExistingPluginInfo()
          Get the plugin info for the existing 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

DuplicatePluginException

public DuplicatePluginException(PluginInfo duplicatePlugin,
                                PluginInfo existingPlugin)
Constructor. This automatically creates a message string.

Parameters:
duplicatePlugin - the duplicate plugin info
existingPlugin - the existing plugin info
Method Detail

getDuplicatePluginInfo

public PluginInfo getDuplicatePluginInfo()
Get the plugin info for the duplicate plugin

Returns:
plugin info

getExistingPluginInfo

public PluginInfo getExistingPluginInfo()
Get the plugin info for the existing plugin

Returns:
plugin info