Package org.actioncontroller.exceptions
Class HttpRedirectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.actioncontroller.exceptions.HttpActionException
-
- org.actioncontroller.exceptions.HttpRedirectException
-
- All Implemented Interfaces:
Serializable
public class HttpRedirectException extends HttpActionException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpRedirectException(String url)HttpRedirectException(ApiHttpExchange exchange, String pathInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsendError(ApiHttpExchange exchange)-
Methods inherited from class org.actioncontroller.exceptions.HttpActionException
getStatusCode, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
HttpRedirectException
public HttpRedirectException(ApiHttpExchange exchange, String pathInfo)
-
HttpRedirectException
public HttpRedirectException(String url)
-
-
Method Detail
-
sendError
public void sendError(ApiHttpExchange exchange) throws IOException
- Overrides:
sendErrorin classHttpActionException- Throws:
IOException
-
-