All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.taobao.csp.sentinel.slots.block.degrade.DegradeException Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
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;
	 }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy