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

io.github.nichetoolkit.rest.error.ClassUnsupportedException Maven / Gradle / Ivy

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

/**
 * 

ClassUnsupportedException

* @author Cyan ([email protected]) * @version v1.0.0 */ public class ClassUnsupportedException extends ClassErrorException { public ClassUnsupportedException() { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED); } public ClassUnsupportedException(String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED,message); } public ClassUnsupportedException(String resource, String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED, resource, message); } public ClassUnsupportedException(String resource, String field, String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED, resource, field, message); } public ClassUnsupportedException(String resource, String field, Object value, String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED, resource,field, value, message); } @Override public ClassUnsupportedException get() { return new ClassUnsupportedException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy