Class SpinnakerHttpException
- 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.SpinnakerHttpException
-
- All Implemented Interfaces:
com.netflix.spinnaker.kork.exceptions.HasAdditionalAttributes,java.io.Serializable
public final class SpinnakerHttpException extends SpinnakerServerException
An exception that exposes theResponseof a given HTTPRetrofitErrorand a detail message that extracts useful information from theResponse.- 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.StringgetMessage()-
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
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classSpinnakerServerException
-
-