Package io.vertx.circuitbreaker
Class TimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.vertx.circuitbreaker.TimeoutException
-
- All Implemented Interfaces:
Serializable
public class TimeoutException extends RuntimeException
Exception reported when the monitored operation timed out.For performance reason, this exception does not carry a stack trace. You are not allowed to set a stack trace or a cause to this exception. This immutability allows using a singleton instance.
- Author:
- Clement Escoffier
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TimeoutException
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
initCause(Throwable cause)
void
setStackTrace(StackTraceElement[] stackTrace)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Field Detail
-
INSTANCE
public static TimeoutException INSTANCE
-
-
Method Detail
-
setStackTrace
public void setStackTrace(StackTraceElement[] stackTrace)
- Overrides:
setStackTrace
in classThrowable
-
-