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

uk.dioxic.mgenerate.common.exception.WrapException Maven / Gradle / Ivy

The newest version!
package uk.dioxic.mgenerate.common.exception;

public class WrapException extends RuntimeException {

    public WrapException(Class from, Class to) {
        this("Cannot wrap " + from.getSimpleName() + " to " + to.getSimpleName());
    }

    public WrapException(String message) {
        super(message);
    }

    public WrapException(Exception e) {
        super(e);
    }

    public WrapException(String message, Exception e) {
        super(message, e);
    }

    public WrapException() {
        super();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy