Package org.apache.tiles.servlet.context
Class NotAServletEnvironmentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.tiles.TilesException
-
- org.apache.tiles.servlet.context.NotAServletEnvironmentException
-
- All Implemented Interfaces:
Serializable
public class NotAServletEnvironmentException extends org.apache.tiles.TilesExceptionException that indicates that a resource could not be used because it is not in a servlet environment.- Since:
- 2.2.0
- Version:
- $Rev$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotAServletEnvironmentException()Constructor.NotAServletEnvironmentException(Exception e)Constructor.NotAServletEnvironmentException(String message)Constructor.NotAServletEnvironmentException(String message, Exception e)Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotAServletEnvironmentException
public NotAServletEnvironmentException()
Constructor.- Since:
- 2.2.0
-
NotAServletEnvironmentException
public NotAServletEnvironmentException(String message)
Constructor.- Parameters:
message- The detail message.- Since:
- 2.2.0
-
NotAServletEnvironmentException
public NotAServletEnvironmentException(Exception e)
Constructor.- Parameters:
e- The exception to be wrapped.- Since:
- 2.2.0
-
-