T-Plan Robot Enterprise 5.0.1
Build No. 5.0.1-20190308.1

com.tplan.robot.plugin
Class DependencyMissingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.tplan.robot.plugin.DependencyMissingException
All Implemented Interfaces:
java.io.Serializable

public class DependencyMissingException
extends java.lang.Exception

Plugin install exception thrown on attempt to install a plugin while one of the dependencies is not installed.

See Also:
Serialized Form

T-Plan Robot Enterprise, (C) 2009-2019 T-Plan Limited. All rights reserved.


Constructor Summary
DependencyMissingException(Plugin plugin, java.util.List<PluginDependency> dependencies)
          Constructor with the default exception message.
DependencyMissingException(java.lang.String message, Plugin plugin, java.util.List<PluginDependency> dependencies)
          Constructor allowing to set a custom exception message text.
 
Method Summary
 java.util.List<PluginDependency> getDependencies()
          Get list of missing dependencies.
 Plugin getPlugin()
          Get plugin info of the plugin which is being installed.
 
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

DependencyMissingException

public DependencyMissingException(Plugin plugin,
                                  java.util.List<PluginDependency> dependencies)
Constructor with the default exception message.

Parameters:
plugin - plugin info of the plugin being installed.
dependencies - list of missing dependencies required by the plugin.

DependencyMissingException

public DependencyMissingException(java.lang.String message,
                                  Plugin plugin,
                                  java.util.List<PluginDependency> dependencies)
Constructor allowing to set a custom exception message text.

Parameters:
message - custom exception message text.
plugin - plugin info of the plugin being installed.
dependencies - list of missing dependencies required by the plugin.
Method Detail

getPlugin

public Plugin getPlugin()
Get plugin info of the plugin which is being installed.

Returns:
the pluginInfo plugin info of the plugin being installed.

getDependencies

public java.util.List<PluginDependency> getDependencies()
Get list of missing dependencies.

Returns:
list of missing dependencies.

T-Plan Robot Enterprise 5.0.1
Build No. 5.0.1-20190308.1