refutils.ReflectionHelperException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reflection-utils Show documentation
Show all versions of reflection-utils Show documentation
A utility library to handle Java reflection with ease
package refutils;
/**
* Common Runtime Exception for all reflection methods
*/
public class ReflectionHelperException extends RuntimeException {
public ReflectionHelperException(Exception e) {
super(e);
}
public ReflectionHelperException(String msg, Exception ex) {
super(msg, ex);
}
public static ReflectionHelperException createCannotInstantiateClass(Class> clazz, Exception ex) {
return new ReflectionHelperException(String.format("Cannot instantiate Class: %s constructor", clazz.getName()), ex);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy