Package com.liveperson.faas.exception
Class RestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.liveperson.faas.exception.RestException
-
- All Implemented Interfaces:
Serializable
public class RestException extends IOException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestException(String message, String response, int statusCode)RestException(String message, String response, int statusCode, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetResponse()intgetStatusCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getResponse
public String getResponse()
-
getStatusCode
public int getStatusCode()
-
-