public class OpenCircuitException extends RuntimeException
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.
| Modifier and Type | Field and Description | 
|---|---|
| static OpenCircuitException | INSTANCE | 
| Modifier and Type | Method and Description | 
|---|---|
| Throwable | initCause(Throwable cause) | 
| void | setStackTrace(StackTraceElement[] stackTrace) | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, toStringpublic static OpenCircuitException INSTANCE
public void setStackTrace(StackTraceElement[] stackTrace)
setStackTrace in class ThrowableCopyright © 2022 Eclipse. All rights reserved.