}
}
static public String normalizeLeadingHexZeroes(String v, int length) throws ConversionException {
if (v == null || v.length() == 0) {
throw new ConversionException("Empty or null value detected; unable to convert");
} else if (v.length() == length) {
return v;
} else if (v.length() < length) {
// add leading zeroes
int prepend = (length - v.length());