![JAR search and dependency download from the Maven repository](/logo.png)
com.txxs.common.response.exception.ServerException 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:17:05
*/
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
@UniversalException.Code("500")
public class ServerException extends UniversalException {
public ServerException() {
}
public ServerException(String message) {
super(message);
}
public ServerException(String message, Throwable cause) {
super(message, cause);
}
public ServerException(Throwable cause) {
super(cause);
}
public ServerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy