com.deepshiftlabs.nerrvana
Class ResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
ResponseException(String msg)
           
ResponseException(String msg, int code)
           
 
Method Summary
 int code()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseException

public ResponseException(String msg)

ResponseException

public ResponseException(String msg,
                         int code)
Method Detail

code

public int code()


Copyright © 2004-2013 Deep Shift Labs. All Rights Reserved.