类 ParamFlowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.alibaba.csp.sentinel.slots.block.BlockException
com.alibaba.csp.sentinel.slots.block.flow.param.ParamFlowException
所有已实现的接口:
Serializable

public class ParamFlowException extends com.alibaba.csp.sentinel.slots.block.BlockException
Block exception for frequent ("hot-spot") parameter flow control.
从以下版本开始:
0.2.0
作者:
jialiang.linjl
另请参阅:
  • 构造器详细资料

    • ParamFlowException

      public ParamFlowException(String resourceName, String message, Throwable cause)
    • ParamFlowException

      public ParamFlowException(String resourceName, String param)
    • ParamFlowException

      public ParamFlowException(String resourceName, String param, ParamFlowRule rule)
  • 方法详细资料

    • getResourceName

      public String getResourceName()
    • fillInStackTrace

      public Throwable fillInStackTrace()
      覆盖:
      fillInStackTrace 在类中 com.alibaba.csp.sentinel.slots.block.BlockException
    • getLimitParam

      public String getLimitParam()
      Get the parameter value that triggered the parameter flow control.
      返回:
      the parameter value
      从以下版本开始:
      1.4.2
    • getRule

      public ParamFlowRule getRule()
      Get triggered rule. Note: the rule result is a reference to rule map and SHOULD NOT be modified.
      覆盖:
      getRule 在类中 com.alibaba.csp.sentinel.slots.block.BlockException
      返回:
      triggered rule
      从以下版本开始:
      1.4.2