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 Details

    • ServiceUnavailableException

      public ServiceUnavailableException()
    • ServiceUnavailableException

      public ServiceUnavailableException(String message)
  • Method Details

    • fillInStackTrace

      public Throwable fillInStackTrace()
      Disables fillInStackTrace for performance reasons.
      Overrides:
      fillInStackTrace in class Throwable
      Returns:
      this