Package com.onslip360
Class RequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.onslip360.RequestException
-
- All Implemented Interfaces:
Serializable
public class RequestException extends IOException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestException(String message, ResponseMetadata rmd, Throwable cause, API.ServerError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description API.ServerError
getError()
Map<String,String>
getHeaders()
int
getStatus()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
RequestException
public RequestException(String message, ResponseMetadata rmd, @Nullable Throwable cause, @Nullable API.ServerError error)
-
-