
com.dooapp.gaedo.utils.UnableToCreateObjectException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gaedo-definition Show documentation
Show all versions of gaedo-definition Show documentation
Hold the services interfaces, informers and expressions
The newest version!
/**
*
*/
package com.dooapp.gaedo.utils;
import com.dooapp.gaedo.CrudServiceException;
/**
* Thrown when {@link Class#newInstance()} cannot be correctly called on given class, or when input key is not compatible with service associated kind
* @author ndx
*
*/
public class UnableToCreateObjectException extends CrudServiceException {
public UnableToCreateObjectException(Exception e, Class> containedClass) {
super("unable to create object of class "+containedClass.getName()+" maybe there is no empty constructor ...", e);
}
protected UnableToCreateObjectException(String s) {
super(s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy