Package com.testdroid.api
Class APIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.testdroid.api.APIException
-
- All Implemented Interfaces:
java.io.Serializable
public class APIException extends java.lang.Exception
- Author:
- Ćukasz Kajda
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIException()
APIException(java.lang.Integer status, java.lang.String message)
APIException(java.lang.Integer status, java.lang.String message, java.lang.Throwable t)
APIException(java.lang.String message)
APIException(java.lang.String message, java.lang.Throwable t)
APIException(java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getStatus()
HTTP status returned from API call or null if call hasn't been executed yet.
-
-
-
Constructor Detail
-
APIException
public APIException()
-
APIException
public APIException(java.lang.String message)
-
APIException
public APIException(java.lang.Integer status, java.lang.String message)
-
APIException
public APIException(java.lang.Throwable t)
-
APIException
public APIException(java.lang.String message, java.lang.Throwable t)
-
APIException
public APIException(java.lang.Integer status, java.lang.String message, java.lang.Throwable t)
-
-