uk.dioxic.mgenerate.common.exception.WrapException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mgenerate-common Show documentation
Show all versions of mgenerate-common Show documentation
Common code for mgenerate4j
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