--- a/jdk/src/share/classes/java/time/OffsetTime.java Wed Oct 09 11:02:55 2013 -0400
+++ b/jdk/src/share/classes/java/time/OffsetTime.java Thu Sep 26 15:19:27 2013 -0700
@@ -284,7 +284,8 @@
ZoneOffset offset = ZoneOffset.from(temporal);
return new OffsetTime(time, offset);
} catch (DateTimeException ex) {
- throw new DateTimeException("Unable to obtain OffsetTime from TemporalAccessor: " + temporal.getClass(), ex);
+ throw new DateTimeException("Unable to obtain OffsetTime from TemporalAccessor: " +
+ temporal + " of type " + temporal.getClass().getName(), ex);
}
}