Class SpinnakerServerException
- 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
-
- All Implemented Interfaces:
com.netflix.spinnaker.kork.exceptions.HasAdditionalAttributes,java.io.Serializable
- Direct Known Subclasses:
SpinnakerHttpException,SpinnakerNetworkException
public class SpinnakerServerException extends com.netflix.spinnaker.kork.exceptions.SpinnakerExceptionAn exception that exposes the message of aRetrofitError.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpinnakerServerException(retrofit.RetrofitError e)Parses the message from theSpinnakerServerException.RetrofitErrorResponseBodyof aRetrofitError.
-
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
-
-