com.virtuosotechnologies.lib.plugin
Class APINotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.virtuosotechnologies.lib.plugin.PluginException
com.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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
APINotAvailableException
public APINotAvailableException(String name,
APIVersion version)
- Constructor. This automatically creates a message string.
- Parameters:
name
- name of APIversion
- version of API
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