com.deepshiftlabs.nerrvana
Class ResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deepshiftlabs.nerrvana.ResponseException
- All Implemented Interfaces:
- Serializable
public class ResponseException
- extends Exception
HTTP response exception It is raised when API returns HTTP status other than
200.
- Version:
- 1.00
- Author:
- Deep Shift Labs, Victor Orlov
- See Also:
- Serialized Form
|
Method Summary |
int |
code()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ResponseException
public ResponseException(String msg)
ResponseException
public ResponseException(String msg,
int code)
code
public int code()
Copyright © 2004-2012 Deep Shift Labs. All Rights Reserved.