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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceUnavailableException()
ServiceUnavailableException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
fillInStackTrace()
Disables fillInStackTrace for performance reasons.-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ServiceUnavailableException
public ServiceUnavailableException()
-
ServiceUnavailableException
public ServiceUnavailableException(String message)
-
-
Method Detail
-
fillInStackTrace
public Throwable fillInStackTrace()
Disables fillInStackTrace for performance reasons.- Overrides:
fillInStackTrace
in classThrowable
- Returns:
- this
-
-