public class VersionNotSupportedException extends Exception
Constructor and Description |
---|
VersionNotSupportedException(String version)
Constructor for VersionNotSupportedException
|
VersionNotSupportedException(String version,
String message)
Constructor for VersionNotSupportedException
|
Modifier and Type | Method and Description |
---|---|
String |
getVersion()
Returns the version of deployment descriptor that caused this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public VersionNotSupportedException(String version, String message)
version
- specific version of Servlet Spec. e.g."2.4"message
- exception messagepublic VersionNotSupportedException(String version)
version
- specific version of Servlet Spec. e.g."2.4"public String getVersion()