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

com.github.saphyra.exceptionhandling.exception.GoneException Maven / Gradle / Ivy

package com.github.saphyra.exceptionhandling.exception;

import com.github.saphyra.exceptionhandling.domain.ErrorMessage;
import org.springframework.http.HttpStatus;

public class GoneException extends RestException {
    private static final HttpStatus STATUS = HttpStatus.GONE;

    public GoneException(String logMessage) {
        super(STATUS, logMessage);
    }

    public GoneException(ErrorMessage errorMessage, String logMessage){
        super(STATUS, errorMessage, logMessage);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy