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

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

/**
 * ClassUnrenewException
 * 

The class unrenew exception class.

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

Instantiates a new class unrenew exception.

*/ public ClassUnrenewException() { super(RestErrorStatus.CLASS_TYPE_UNRENEW); } /** * ClassUnrenewException *

Instantiates a new class unrenew exception.

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

The message parameter is String type.

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

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

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

Instantiates a new class unrenew 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 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(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy