Class TimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.springframework.cloud.gateway.support.TimeoutException
-
- All Implemented Interfaces:
Serializable
@ResponseStatus(value=GATEWAY_TIMEOUT, reason="Response took longer than configured timeout") public class TimeoutException extends Exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeoutException()TimeoutException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablefillInStackTrace()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
-
TimeoutException
public TimeoutException()
-
TimeoutException
public TimeoutException(String message)
-
-
Method Detail
-
fillInStackTrace
public Throwable fillInStackTrace()
Disables fillInStackTrace for performance reasons.- Overrides:
fillInStackTracein classThrowable- Returns:
- this
-
-