Isn't enough to throw simply an exception that no property adapter has been found? I am usually afraid of to long and mostly difficult to read exceptions. I think a small and clear error message is enough.

Am 22.01.15 um 17:10 schrieb Mark Struberg:
But if no converter is able to convert the value into the requested
target type we must throw an exception. We cannot suppress such an error.

Yes, that is my point 4. If no coverter was able to convert it to the required 
type -> Exception which contains all the supported formats of all 
PropertyConverters.

LieGrue,
strub





On Wednesday, 21 January 2015, 22:03, Oliver B. Fischer 
<[email protected]> wrote:
But if no converter is able to convert the value into the requested
target type we must throw an exception. We cannot suppress such an error.

WDYT?

Oliver

Am 21.01.15 um 17:11 schrieb Mark Struberg:
and we are done
PropertyAdaptors until one of them could convert it
which format they support and log an error or throw an Exception even?
<[email protected]> wrote:
none of the
in the
returning null is
identify the
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/2ce460db
----------------------------------------------------------------------
.../apache/tamaya/core/internal/converters/BooleanConverter.java   | 2
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/2ce460db/java8/core/src/main/java/org/apache/tamaya/core/internal/converters/BooleanConverter.java
----------------------------------------------------------------------
a/java8/core/src/main/java/org/apache/tamaya/core/internal/converters/BooleanConverter.java
b/java8/core/src/main/java/org/apache/tamaya/core/internal/converters/BooleanConverter.java
a/java8/core/src/main/java/org/apache/tamaya/core/internal/converters/BooleanConverter.java
b/java8/core/src/main/java/org/apache/tamaya/core/internal/converters/BooleanConverter.java
encountered:
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer

J [email protected]
X http://xing.to/obf


--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer
J [email protected]
X http://xing.to/obf

Reply via email to