Class ProxyRequestFailException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProxyRequestFailException
    extends java.lang.Exception
    Exception thrown when a proxy request fails.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiResponse getResponse()
      Getter for the api response.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ProxyRequestFailException

        public ProxyRequestFailException​(ApiResponse response)
        Constructor.
        Parameters:
        response - The api response, received from the GreenProxy forward proxy server.
    • Method Detail

      • getResponse

        public ApiResponse getResponse()
        Getter for the api response.
        Returns:
        The api response, received from the GreenProxy forward proxy server.