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

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

There is a newer version: 1.3.4
Show newest version
package com.github.saphyra.exceptionhandling.exception;

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

public class UpgradeRequiredException extends RestException {
    private static final HttpStatus STATUS = HttpStatus.UPGRADE_REQUIRED;

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

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

    public UpgradeRequiredException(String errorCode, String logMessage) {
        super(STATUS, errorCode, logMessage);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy