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

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

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

public class TransformerException extends RuntimeException {

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

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

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

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

    public TransformerException() {
        super();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy