Class ServletDeploymentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.base.servletcontainer.ServletDeploymentException
-
- All Implemented Interfaces:
Serializable
public class ServletDeploymentException extends Exception
This exception indicates that deploying or undeploying a servlet (web application) to a servlet service has failed. Usually this will be due to missing values in the data structure of the web application, malformed URLs or a misconfigured underlying servlet container when deploying. When undeploying the servlet may be in the wrong state to be stopped.- Author:
- Ulrich Kreher
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServletDeploymentException(String message)
Creates a new exception for failing to deploy or undeploy a servlet having the designated message.ServletDeploymentException(String message, Throwable cause)
Creates a new exception having the designated message and cause when deploying or undeploying a servlet to or from a servlet service.ServletDeploymentException(Throwable cause)
Creates a new exception having the designated cause when deploying or undeploying a servlet to or from a servlet service.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ServletDeploymentException
public ServletDeploymentException(String message)
Creates a new exception for failing to deploy or undeploy a servlet having the designated message.- Parameters:
message
- A message describing the problem.
-
ServletDeploymentException
public ServletDeploymentException(Throwable cause)
Creates a new exception having the designated cause when deploying or undeploying a servlet to or from a servlet service.- Parameters:
cause
- The cause that led to failing to (un)deploy a servlet.
-
ServletDeploymentException
public ServletDeploymentException(String message, Throwable cause)
Creates a new exception having the designated message and cause when deploying or undeploying a servlet to or from a servlet service.- Parameters:
message
- A message describing the problem.cause
- The cause that led to failing to (un)deploy a servlet.
-
-