public class DegradeException extends BlockException
BLOCK_EXCEPTION_FLAG, rule, sentinelStackTrace, THROW_OUT_EXCEPTION| Constructor and Description |
|---|
DegradeException(String ruleLimitApp) |
DegradeException(String ruleLimitApp,
DegradeRule rule) |
DegradeException(String ruleLimitApp,
String message) |
DegradeException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
DegradeRule |
getRule()
Get triggered rule.
|
getRuleLimitApp, isBlockException, setRuleLimitAppaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DegradeException(String ruleLimitApp)
public DegradeException(String ruleLimitApp, DegradeRule rule)
public Throwable fillInStackTrace()
fillInStackTrace in class BlockExceptionpublic DegradeRule getRule()
getRule in class BlockExceptionCopyright © 2019 Alibaba Group. All rights reserved.