UnsupportedTypeException now extends IllegalArgumentException and now prints
which enum the unsuported type orignated from.