use of org.gradle.internal.snapshot.ValueSnapshottingException in project gradle by gradle.
the class AbstractValueProcessor method newValueSerializationException.
private ValueSnapshottingException newValueSerializationException(Class<?> valueType, Throwable cause) {
TreeFormatter formatter = new TreeFormatter();
formatter.node("Could not serialize value of type ");
formatter.appendType(valueType);
return new ValueSnapshottingException(formatter.toString(), cause);
}
Aggregations