com.goikosoft.reflection.InvalidArgument Maven / Gradle / Ivy
Show all versions of reflection-utils Show documentation
package com.goikosoft.reflection;
/**
* Thrown to indicate that a method has been passed an illegal or inappropriate argument.
*
* May be caused due to IllegalArgumentException thrown by reflection methods
* or by ReflectionUtils argument verification.
*
*
Created to allow to catch all the runtime exceptions with ReflectionRuntimeException
*
* @author Dario Goikoetxea
* @see IllegalArgumentException
*/
public class InvalidArgument extends ReflectionRuntimeException {
/**
*
*/
private static final long serialVersionUID = 6970954305065639057L;
public InvalidArgument() {
super();
}
public InvalidArgument(String message, Throwable cause) {
super(message, cause);
}
public InvalidArgument(String message) {
super(message);
}
public InvalidArgument(Throwable cause) {
super(cause);
}
}