package net.sf.kerner.utils;

import java.util.Properties;

import net.sf.kerner.utils.StringUtils;

public class PropertyRuntimeException extends RuntimeException {
	
	private static final long serialVersionUID = 71806291218857338L;
	
	private final Properties pro;

	public PropertyRuntimeException() {
		this.pro = new Properties();
	}

	public PropertyRuntimeException(String arg0) {
		this(arg0, new Properties());
		
	}
	
	public PropertyRuntimeException(String arg0, Properties pro) {
		super(arg0);
		this.pro = pro;
	}

	public PropertyRuntimeException(Throwable arg0) {
		this(arg0, new Properties());
	}
	
	public PropertyRuntimeException(Throwable arg0, Properties pro) {
		super(arg0);
		this.pro = pro;
	}

	public PropertyRuntimeException(String arg0, Throwable arg1) {
		this(arg0, arg1, new Properties());
	}
	
	public PropertyRuntimeException(String arg0, Throwable arg1, Properties pro) {
		super(arg0, arg1);
		this.pro = pro;
	}
	
	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder();
		sb.append(pro.toString());
		sb.append(StringUtils.NEW_LINE_STRING);
		sb.append(super.toString());
		return sb.toString();
	}

	public Properties getPro() {
		return pro;
	}

}

package net.sf.kerner.utils;

import java.util.Properties;

import net.sf.kerner.utils.StringUtils;

public class PropertyRuntimeException extends RuntimeException {
	
	private static final long serialVersionUID = 71806291218857338L;
	
	private final Properties pro;

	public PropertyRuntimeException() {
		this.pro = new Properties();
	}

	public PropertyRuntimeException(String arg0) {
		this(arg0, new Properties());
		
	}
	
	public PropertyRuntimeException(Properties pro) {
		super();
		this.pro = pro;
	}
	
	public PropertyRuntimeException(String arg0, Properties pro) {
		super(arg0);
		this.pro = pro;
	}

	public PropertyRuntimeException(Throwable arg0) {
		this(arg0, new Properties());
	}
	
	public PropertyRuntimeException(Throwable arg0, Properties pro) {
		super(arg0);
		this.pro = pro;
	}

	public PropertyRuntimeException(String arg0, Throwable arg1) {
		this(arg0, arg1, new Properties());
	}
	
	public PropertyRuntimeException(String arg0, Throwable arg1, Properties pro) {
		super(arg0, arg1);
		this.pro = pro;
	}
	
	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder();
		sb.append(pro.toString());
		sb.append(StringUtils.NEW_LINE_STRING);
		sb.append(super.toString());
		return sb.toString();
	}

	public Properties getPro() {
		return pro;
	}

}

Add additional constructor.