Class SpinnakerNetworkException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.netflix.spinnaker.kork.exceptions.SpinnakerException
com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerServerException
com.netflix.spinnaker.kork.retrofit.exceptions.SpinnakerNetworkException
All Implemented Interfaces:
com.netflix.spinnaker.kork.exceptions.HasAdditionalAttributes, Serializable

public final class SpinnakerNetworkException extends SpinnakerServerException
Represents a network error while attempting to execute a retrofit http client request.
See Also:
  • Constructor Details

    • SpinnakerNetworkException

      public SpinnakerNetworkException(Throwable cause, okhttp3.Request request)
      Construct a SpinnakerNetworkException from retrofit2 with a cause (e.g. an exception sending a request or processing a response).
    • SpinnakerNetworkException

      public SpinnakerNetworkException(String message, SpinnakerNetworkException cause)
      Construct a SpinnakerNetworkException from another SpinnakerNetworkException (e.g. via newInstance).
    • SpinnakerNetworkException

      public SpinnakerNetworkException(retrofit.RetrofitError e)
      Construct a SpinnakerNetworkException corresponding to a RetrofitError.
  • Method Details