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

com.goikosoft.reflection.ReflectionRuntimeException Maven / Gradle / Ivy

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();
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy