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

org.kiwiproject.reflect.RuntimeReflectionException Maven / Gradle / Ivy

Go to download

Kiwi is a utility library. We really like Google's Guava, and also use Apache Commons. But if they don't have something we need, and we think it is useful, this is where we put it.

There is a newer version: 4.5.2
Show newest version
package org.kiwiproject.reflect;

/**
 * A custom runtime exception for wrapping (checked or unchecked) exceptions related to reflection.
 * 

* There are no restrictions on the wrapped {@link Throwable}, but the intent is that they should be * some checked or unchecked exception that was thrown by a reflective operation, e.g. reflectively * finding or invoking a method, or accessing a field. */ @SuppressWarnings("unused") public class RuntimeReflectionException extends RuntimeException { /** * Construct a new instance with the given message and cause. * * @param message the detail message * @param cause the underlying cause */ public RuntimeReflectionException(String message, Throwable cause) { super(message, cause); } /** * Construct a new instance with and cause. * * @param cause the underlying cause */ public RuntimeReflectionException(Throwable cause) { super(cause); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy