![JAR search and dependency download from the Maven repository](/logo.png)
com.txxs.common.response.exception.ClientException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-response Show documentation
Show all versions of common-response Show documentation
handle message standard when send to front
The newest version!
package com.txxs.common.response.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* @Author:jianghuimin
* @Date: 2017/8/3
* @Time:16:56
*/
@ResponseStatus(HttpStatus.BAD_REQUEST)
@UniversalException.Code("400")
public class ClientException extends UniversalException {
public ClientException() {
}
public ClientException(String message) {
super(message);
}
public ClientException(String message, Throwable cause) {
super(message, cause);
}
public ClientException(Throwable cause) {
super(cause);
}
public ClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy