com.paypal.base.exception
Class HttpErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.paypal.base.exception.BaseException
              extended by com.paypal.base.exception.HttpErrorException
All Implemented Interfaces:
Serializable

public class HttpErrorException
extends BaseException

HttpErrorException denotes errors that occur in HTTP call

See Also:
Serialized Form

Constructor Summary
HttpErrorException(int responsecode, String errorResponse, String msg, Throwable exception)
           
HttpErrorException(String msg)
           
HttpErrorException(String msg, Throwable exception)
           
 
Method Summary
 String getErrorResponse()
           
 int getResponsecode()
           
 
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

HttpErrorException

public HttpErrorException(String msg)

HttpErrorException

public HttpErrorException(String msg,
                          Throwable exception)

HttpErrorException

public HttpErrorException(int responsecode,
                          String errorResponse,
                          String msg,
                          Throwable exception)
Method Detail

getResponsecode

public int getResponsecode()

getErrorResponse

public String getErrorResponse()


Copyright © 2015. All Rights Reserved.