package com.bbn.bue.common.parameters.exceptions;

public class ParameterConversionException extends ParameterException {
	public ParameterConversionException(String param, String value,
		Throwable cause, String expectation) 
	{
		super(String.format("For parameter %s, expected %s but got string of wrong type %s.", 
				param, value, expectation), cause);
	}

	private static final long serialVersionUID = 1L;	
}

@@ -356,16 +356,296 @@
 e);%0A%09%7D%0A%0A
+    public ParameterConversionException(String param, String value,%0A                                        String expectation)%0A    %7B%0A        super(String.format(%22For parameter %25s, expected %25s but got string of wrong type %25s.%22,%0A                param, value, expectation));%0A    %7D%0A%0A
 %09private

Allow creating ParameterConversionExceptions without a nested cause