Class ServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.cloud.gateway.support.ServiceUnavailableException
- All Implemented Interfaces:
Serializable
@ResponseStatus(value=SERVICE_UNAVAILABLE,
reason="Upstream service is temporarily unavailable")
public class ServiceUnavailableException
extends Exception
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDisables fillInStackTrace for performance reasons.Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceUnavailableException
public ServiceUnavailableException() -
ServiceUnavailableException
-
-
Method Details
-
fillInStackTrace
Disables fillInStackTrace for performance reasons.- Overrides:
fillInStackTracein classThrowable- Returns:
- this
-