com.heroku.api.exception
Class RequestFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.heroku.api.exception.HerokuAPIException
                  extended by com.heroku.api.exception.RequestFailedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LoginFailedException

public class RequestFailedException
extends HerokuAPIException

See Also:
Serialized Form

Constructor Summary
RequestFailedException(String msg, int code, byte[] in)
           
RequestFailedException(String msg, int code, String body)
           
 
Method Summary
 String getResponseBody()
           
 int getStatusCode()
           
 
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

RequestFailedException

public RequestFailedException(String msg,
                              int code,
                              byte[] in)

RequestFailedException

public RequestFailedException(String msg,
                              int code,
                              String body)
Method Detail

getResponseBody

public String getResponseBody()

getStatusCode

public int getStatusCode()


Copyright © 2012. All Rights Reserved.