Class HttpException

All Implemented Interfaces:
Direct Known Subclasses:
BadRequestException, NotFoundException

public class HttpException extends RuntimeException
Runtime exception for applications.

This exception may be thrown during request processing if a specific HTTP error response needs to be produced. Only effective if thrown before the status code is sent.

See Also: