com.wichell.core.exception.BusinessException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wichell-common Show documentation
Show all versions of wichell-common Show documentation
common project com.wichell.wichell jar
The newest version!
package com.wichell.core.exception;
import com.wichell.core.support.HttpCode;
/**
* @author Wichell
* @version 2016年5月20日 下午3:19:19
*/
@SuppressWarnings("serial")
public class BusinessException extends BaseException {
public BusinessException() {
}
public BusinessException(Throwable ex) {
super(ex);
}
public BusinessException(String message) {
super(message);
}
public BusinessException(String message, Throwable ex) {
super(message, ex);
}
protected HttpCode getHttpCode() {
return HttpCode.CONFLICT;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy