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

javax.jmi.reflect.WrongSizeException Maven / Gradle / Ivy

There is a newer version: 2.18.10
Show newest version
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