Class HttpException

  • All Implemented Interfaces:
    Serializable

    public class HttpException
    extends ServerException
    An instance of this class is trown when finding problems in the client server communication, e.g. in case of requesting a resource which cannot be found (HTTP code 404). Note that in case of an HTTP error code 500, a processing error has occured which results in a ProcessingException to be thrown.
    Author:
    Andreas Schmid
    See Also:
    Serialized Form
    • Constructor Detail

      • HttpException

        public HttpException​(String message)
        creates an instance of this class taking an error description as argument
        Parameters:
        message - a string describing the error