Class HttpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.sblim.cimclient.internal.http.HttpException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HttpParseException
public class HttpException extends java.io.IOExceptionClass HttpException represents HTTP related problems- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpException()Ctor.HttpException(int status, java.lang.String reason)Ctor.HttpException(int status, java.lang.String reason, java.lang.String cimError)Ctor.HttpException(java.lang.String reason)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatus()Returns the statusjava.lang.StringtoString()
-
-
-
Constructor Detail
-
HttpException
public HttpException()
Ctor. Equivalent toHttpException(-1, null, null)
-
HttpException
public HttpException(java.lang.String reason)
Ctor. Equivalent toHttpException(-1, reason, null)- Parameters:
reason- The reason
-
HttpException
public HttpException(int status, java.lang.String reason)Ctor. Equivalent toHttpException(-1, reason, null)- Parameters:
status- The statusreason- The reason
-
HttpException
public HttpException(int status, java.lang.String reason, java.lang.String cimError)Ctor. Equivalent toHttpException(-1, reason, null)- Parameters:
status- The statusreason- The reasoncimError- The CIM error
-
-