io.github.nichetoolkit.rest.error.ClassUnrenewException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-toolkit-utils Show documentation
Show all versions of rest-toolkit-utils Show documentation
Rest toolkit utils project for Spring Boot
package io.github.nichetoolkit.rest.error;
import io.github.nichetoolkit.rest.RestErrorStatus;
import io.github.nichetoolkit.rest.error.natives.ClassErrorException;
import io.github.nichetoolkit.rest.error.natives.ConvertErrorException;
/**
* ClassUnknownException
* @author Cyan ([email protected])
* @version v1.0.0
*/
public class ClassUnrenewException extends ClassErrorException {
public ClassUnrenewException() {
super(RestErrorStatus.CLASS_TYPE_UNRENEW);
}
public ClassUnrenewException(String message) {
super(RestErrorStatus.CLASS_TYPE_UNRENEW,message);
}
public ClassUnrenewException(String resource, String message) {
super(RestErrorStatus.CLASS_TYPE_UNRENEW, resource, message);
}
public ClassUnrenewException(String resource, String field, String message) {
super(RestErrorStatus.CLASS_TYPE_UNRENEW, resource, field, message);
}
public ClassUnrenewException(String resource, String field, Object value, String message) {
super(RestErrorStatus.CLASS_TYPE_UNRENEW, resource,field, value, message);
}
@Override
public ClassUnrenewException get() {
return new ClassUnrenewException();
}
}