javax.jmi.reflect.WrongSizeException Maven / Gradle / Ivy
package javax.jmi.reflect;
/** Exception which arises when a collection contains
* fewer or more values than is required by the corresponding
* Multiplicity.lower
and Multiplicity.upper
.
*/
@SuppressWarnings("serial")
public class WrongSizeException extends JmiException {
/** Creates WrongSizeException
with a detail message.
* @param elementInError element in error.
*/
public WrongSizeException(RefObject elementInError) {
super(elementInError);
}
/** Creates WrongSizeException
with a detail message.
* @param elementInError element in error.
* @param msg detail message.
*/
public WrongSizeException(RefObject elementInError, String msg) {
super(elementInError, msg);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy