public class SystemBlockException extends BlockException
BLOCK_EXCEPTION_FLAG, BLOCK_EXCEPTION_MSG_PREFIX, rule, sentinelStackTrace, THROW_OUT_EXCEPTION| Constructor and Description |
|---|
SystemBlockException(String resourceName,
String limitType) |
SystemBlockException(String resourceName,
String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
String |
getLimitType()
Return the limit type of system rule.
|
String |
getResourceName() |
getRule, getRuleLimitApp, isBlockException, setRuleLimitApp, toRuntimeExceptionaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SystemBlockException(String resourceName, String message, Throwable cause)
public String getResourceName()
public Throwable fillInStackTrace()
fillInStackTrace in class BlockExceptionpublic String getLimitType()
Copyright © 2021 Alibaba Group. All rights reserved.