Class SpinnakerHttpException

  • All Implemented Interfaces:
    com.netflix.spinnaker.kork.exceptions.HasAdditionalAttributes, java.io.Serializable

    public final class SpinnakerHttpException
    extends SpinnakerServerException
    An exception that exposes the Response of a given HTTP RetrofitError and a detail message that extracts useful information from the Response.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SpinnakerHttpException​(retrofit.RetrofitError e)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class com.netflix.spinnaker.kork.exceptions.SpinnakerException

        getRetryable, getUserMessage, setRetryable
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
      • Methods inherited from interface com.netflix.spinnaker.kork.exceptions.HasAdditionalAttributes

        getAdditionalAttributes
    • Constructor Detail

      • SpinnakerHttpException

        public SpinnakerHttpException​(retrofit.RetrofitError e)