jdk/src/share/classes/java/time/Month.java
changeset 20747 86a86a94b367
parent 19030 32f129cb6351
child 20795 8ec9e5b79828
--- a/jdk/src/share/classes/java/time/Month.java	Wed Oct 09 11:02:55 2013 -0400
+++ b/jdk/src/share/classes/java/time/Month.java	Thu Sep 26 15:19:27 2013 -0700
@@ -217,7 +217,8 @@
             }
             return of(temporal.get(MONTH_OF_YEAR));
         } catch (DateTimeException ex) {
-            throw new DateTimeException("Unable to obtain Month from TemporalAccessor: " + temporal.getClass(), ex);
+            throw new DateTimeException("Unable to obtain Month from TemporalAccessor: " +
+                    temporal + " of type " + temporal.getClass().getName(), ex);
         }
     }