com.taobao.csp.sentinel.slots.block.degrade.DegradeException Maven / Gradle / Ivy
package com.taobao.csp.sentinel.slots.block.degrade;
import com.taobao.csp.sentinel.slots.block.BlockException;
/***
* 降级异常
*
* @author youji.zj [email protected]
* @since 2014-5-17
*
*/
public class DegradeException extends BlockException {
private static final long serialVersionUID = 4510785116964984112L;
public DegradeException(String ruleLimitApp) {
super(ruleLimitApp);
}
public DegradeException(String message, Throwable cause) {
super(message, cause);
}
public DegradeException(String ruleLimitApp, String message) {
super(ruleLimitApp, message);
}
@Override
public Throwable fillInStackTrace() {
return this;
}
}