@Override
public Object decode(String raw) throws IllegalAccessException {
try {
return constructor.newInstance(raw);
} catch (InstantiationException e) {
throw new TransformationException(String.format("Could not instantiate %s", constructor), e);
} catch (InvocationTargetException e) {
throw new TransformationException(String.format("Error on instantiating %s with %s", constructor, raw), e.getCause());
}
}