com.virtuosotechnologies.lib.plugin
Class APINotAvailableException

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

public class APINotAvailableException
extends PluginException

Operation requires an API that isn't available

See Also:
Serialized Form

Constructor Summary
APINotAvailableException(String name, APIVersion version)
          Constructor.
 
Method Summary
 String getAPIName()
          Get the API name
 APIVersion getAPIVersion()
          Get the API version
 
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

APINotAvailableException

public APINotAvailableException(String name,
                                APIVersion version)
Constructor. This automatically creates a message string.

Parameters:
name - name of API
version - version of API
Method Detail

getAPIName

public String getAPIName()
Get the API name

Returns:
name of API as a String

getAPIVersion

public APIVersion getAPIVersion()
Get the API version

Returns:
version of API