com.goikosoft.reflection.ReflectionRuntimeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reflection-utils Show documentation
Show all versions of reflection-utils Show documentation
Reflection utils. Simple envelope for reflection simplification
The newest version!
package com.goikosoft.reflection;
/**
* Excepción genérica del Envoltorio Reflection Dail.
*
*
* @author Dario
*
*/
public class ReflectionRuntimeException extends RuntimeException {
private static final long serialVersionUID = -1556588727709207417L;
public ReflectionRuntimeException() {
super();
}
public ReflectionRuntimeException(String message, Throwable cause) {
super(message, cause);
}
public ReflectionRuntimeException(String message) {
super(message);
}
public ReflectionRuntimeException(Throwable cause) {
super(cause);
}
protected ReflectionRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
public String getMessage() {
String causa;
if(this.getCause()!=null) causa = ". Cause: "+getCause();
else causa="";
return getOnlyMsg() + causa;
}
protected String getOnlyMsg() {
return super.getMessage();
}
}