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

io.github.nichetoolkit.rest.error.ClassUnknownException 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;

/**
 * ClassUnknownException
 * 

The class unknown exception class.

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

Instantiates a new class unknown exception.

*/ public ClassUnknownException() { super(RestErrorStatus.CLASS_TYPE_UNKNOWN); } /** * ClassUnknownException *

Instantiates a new class unknown exception.

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

The message parameter is String type.

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

Instantiates a new class unknown 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 ClassUnknownException(String resource, String message) { super(RestErrorStatus.CLASS_TYPE_UNKNOWN, resource, message); } /** * ClassUnknownException *

Instantiates a new class unknown 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 ClassUnknownException(String resource, String field, String message) { super(RestErrorStatus.CLASS_TYPE_UNKNOWN, resource, field, message); } /** * ClassUnknownException *

Instantiates a new class unknown 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 ClassUnknownException(String resource, String field, Object value, String message) { super(RestErrorStatus.CLASS_TYPE_UNKNOWN, resource,field, value, message); } @Override public ClassUnknownException get() { return new ClassUnknownException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy