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

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

There is a newer version: 2.18.10
Show newest version
package javax.jmi.reflect;

/** Thrown by reflection methods when client tries to call them incorrectly.
 * (e.g. when refSetValue is called for attribute which is not
 * changeable)
 */
@SuppressWarnings("serial")
public class InvalidCallException extends JmiException {
    
    /**
     * Constructs an InvalidCallException without detail message.
     * @param objectInError object in error
     * @param elementInError element in error.
     */
    public InvalidCallException(Object objectInError, RefObject elementInError) {
        super(objectInError, elementInError);
    }

    /**
     * Constructs an InvalidCallException with the specified detail message.
     * @param objectInError object in error
     * @param elementInError element in error.
     * @param msg the detail message.
     */
    public InvalidCallException(Object objectInError, RefObject elementInError, String msg) {
        super(objectInError, elementInError, msg);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy