com.virtuosotechnologies.lib.plugin
Class APIDefunctException

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

public class APIDefunctException
extends RuntimeException

A call was made to an API that is defunct.

See Also:
Serialized Form

Constructor Summary
APIDefunctException(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

APIDefunctException

public APIDefunctException(String name,
                           APIVersion version)
Constructor. 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