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

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

The newest version!
package io.github.nichetoolkit.rest.error;

import io.github.nichetoolkit.rest.RestErrorStatus;
import io.github.nichetoolkit.rest.error.natives.ClassErrorException;

/**
 * ClassUnsupportedException
 * 

The class unsupported exception class.

* @author Cyan ([email protected]) * @see io.github.nichetoolkit.rest.error.natives.ClassErrorException * @since Jdk1.8 */ public class ClassUnsupportedException extends ClassErrorException { /** * ClassUnsupportedException *

Instantiates a new class unsupported exception.

*/ public ClassUnsupportedException() { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED); } /** * ClassUnsupportedException *

Instantiates a new class unsupported exception.

* @param message {@link java.lang.String}

The message parameter is String type.

* @see java.lang.String */ public ClassUnsupportedException(String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED,message); } /** * ClassUnsupportedException *

Instantiates a new class unsupported exception.

* @param resource {@link java.lang.String}

The resource parameter is String type.

* @param message {@link java.lang.String}

The message parameter is String type.

* @see java.lang.String */ public ClassUnsupportedException(String resource, String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED, resource, message); } /** * ClassUnsupportedException *

Instantiates a new class unsupported exception.

* @param resource {@link java.lang.String}

The resource parameter is String type.

* @param field {@link java.lang.String}

The field parameter is String type.

* @param message {@link java.lang.String}

The message parameter is String type.

* @see java.lang.String */ public ClassUnsupportedException(String resource, String field, String message) { super(RestErrorStatus.CLASS_TYPE_UNSUPPORTED, resource, field, message); } /** * ClassUnsupportedException *

Instantiates a new class unsupported exception.

* @param resource {@link java.lang.String}

The resource parameter is String type.

* @param field {@link java.lang.String}

The field parameter is String type.

* @param value {@link java.lang.Object}

The value parameter is Object type.

* @param message {@link java.lang.String}

The message parameter is String type.

* @see java.lang.String * @see java.lang.Object */ 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