org.netbeans.modules.j2ee.dd.api.common
Class VersionNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException
- All Implemented Interfaces:
- Serializable
public class VersionNotSupportedException
- extends Exception
Exception for cases when specific Servletx.x specification doesn't support the specific method.
- See Also:
- Serialized Form
|
Method Summary |
String |
getVersion()
Returns the version of deployment descriptor that caused this exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
VersionNotSupportedException
public VersionNotSupportedException(String version,
String message)
- Constructor for VersionNotSupportedException
- Parameters:
version - specific version of Servlet Spec. e.g."2.4"message - exception message
VersionNotSupportedException
public VersionNotSupportedException(String version)
- Constructor for VersionNotSupportedException
- Parameters:
version - specific version of Servlet Spec. e.g."2.4"
getVersion
public String getVersion()
- Returns the version of deployment descriptor that caused this exception.
- Returns:
- string specifying the DD version e.g. "2.4"