Class HttpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.firstdata.ipg.api.client.exception.ServerException
-
- de.firstdata.ipg.api.client.exception.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 code404
). Note that in case of an HTTP error code500
, a processing error has occured which results in aProcessingException
to be thrown.- Author:
- Andreas Schmid
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpException(String message)
creates an instance of this class taking an error description as argument
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-