public class InvalidVersionException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
InvalidVersionException(int requiredVersion)
Creates the exception with the given required version
|
InvalidVersionException(int requiredVersion,
java.lang.String customMessage)
Creates the exception with the given required version
|
InvalidVersionException(int requiredVersion,
java.lang.String customMessage,
java.lang.Throwable cause)
Creates the exception with the given required version
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRequiredVersion()
Returns the required version of screen-scraper, as an int
|
public InvalidVersionException(int requiredVersion)
requiredVersion - The required versionpublic InvalidVersionException(int requiredVersion,
java.lang.String customMessage)
requiredVersion - The required versioncustomMessage - A custom message to displaypublic InvalidVersionException(int requiredVersion,
java.lang.String customMessage,
java.lang.Throwable cause)
requiredVersion - The required versioncustomMessage - A custom message to displaycause - The cause of the exception