Package org.actioncontroller.exceptions
Class HttpServerErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.actioncontroller.exceptions.HttpActionException
-
- org.actioncontroller.exceptions.HttpServerErrorException
-
- All Implemented Interfaces:
Serializable
public class HttpServerErrorException extends HttpActionException
Indicates an unexpected event on the server during the invocation of the action.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpServerErrorException(String message)HttpServerErrorException(Throwable e)
-
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
-
-
-
-
Method Detail
-
sendError
public void sendError(ApiHttpExchange exchange) throws IOException
- Overrides:
sendErrorin classHttpActionException- Throws:
IOException
-
-