Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.sblim.cimclient.internal.http.HttpException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpParseException
Class HttpException represents HTTP related problems
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCtor.HttpException
(int status, String reason) Ctor.HttpException
(int status, String reason, String cimError) Ctor.HttpException
(String reason) Ctor. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
HttpException
public HttpException()Ctor. Equivalent toHttpException(-1, null, null)
-
HttpException
Ctor. Equivalent toHttpException(-1, reason, null)
- Parameters:
reason
- The reason
-
HttpException
Ctor. Equivalent toHttpException(-1, reason, null)
- Parameters:
status
- The statusreason
- The reason
-
HttpException
-
-
Method Details
-
getStatus
public int getStatus()Returns the status- Returns:
- The status
-
toString
-