-
Bug
-
Resolution: Done
-
Major
-
3.0.0.Beta3
-
None
-
None
org.modeshape.jcr.value.binary.BinaryStoreValueFactory in
215: public BinaryValue create(byte[] value) and
229: public BinaryValue create(InputStream stream)
are throwing ValueFormatException(Object value,PropertyType) but have the cause exception as the 1st parameter which should be the value.
They should be including the cause exception as a third parameter to
ValueFormatException(Object value,
PropertyType targetType,Throwable cause)
Not sure what you can pass as the value in this case though since it is a stream.