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, toString
public static OpenCircuitException INSTANCE
public void setStackTrace(StackTraceElement[] stackTrace)
setStackTrace
in class Throwable
Copyright © 2024 Eclipse. All rights reserved.