Package com.mindee.v2.http
Class MindeeHttpExceptionV2
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mindee.MindeeException
-
- com.mindee.v2.http.MindeeHttpExceptionV2
-
- All Implemented Interfaces:
Serializable
public class MindeeHttpExceptionV2 extends MindeeException
Represent a Mindee exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MindeeHttpExceptionV2(ErrorResponse response)MindeeHttpExceptionV2(ErrorResponse response, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponsegetResponse()Error response.intgetStatus()Standard HTTP status code.StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
MindeeHttpExceptionV2
public MindeeHttpExceptionV2(ErrorResponse response)
-
MindeeHttpExceptionV2
public MindeeHttpExceptionV2(ErrorResponse response, Throwable cause)
-
-
Method Detail
-
getStatus
public int getStatus()
Standard HTTP status code.
-
getResponse
public ErrorResponse getResponse()
Error response.
-
-