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

io.apicurio.registry.exception.UnreachableCodeException Maven / Gradle / Ivy

The newest version!
package io.apicurio.registry.exception;

public class UnreachableCodeException extends RuntimeAssertionFailedException {

    private static final String PREFIX = "Unreachable code";

    public UnreachableCodeException() {
        super(PREFIX);
    }

    public UnreachableCodeException(String message) {
        super(PREFIX + ": " + message);
    }

    public UnreachableCodeException(Throwable cause) {
        super(PREFIX + ": Unexpected exception", cause);
    }

    public UnreachableCodeException(String message, Throwable cause) {
        super(PREFIX + ": " + message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy