public class ParamFlowException extends BlockException
BLOCK_EXCEPTION_FLAG, BLOCK_EXCEPTION_MSG_PREFIX, rule, sentinelStackTrace, THROW_OUT_EXCEPTION| Constructor and Description |
|---|
ParamFlowException(String resourceName,
String param) |
ParamFlowException(String resourceName,
String param,
ParamFlowRule rule) |
ParamFlowException(String resourceName,
String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
String |
getLimitParam()
Get the parameter value that triggered the parameter flow control.
|
String |
getResourceName() |
ParamFlowRule |
getRule()
Get triggered rule.
|
getRuleLimitApp, isBlockException, setRuleLimitApp, toRuntimeExceptionaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParamFlowException(String resourceName, String param, ParamFlowRule rule)
public String getResourceName()
public Throwable fillInStackTrace()
fillInStackTrace in class BlockExceptionpublic String getLimitParam()
public ParamFlowRule getRule()
getRule in class BlockExceptionCopyright © 2020 Alibaba Group. All rights reserved.