Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Nov 13, 2012
1 parent 05a71e1 commit 119fccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/javax/time/format/DateTimePrintContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void endOptional() {
<R> R getValue(Query<R> query) {
R result = dateTime.query(query);
if (result == null && optional == 0) {
throw new DateTimeException("Unable to extract ZoneId: " + dateTime.getClass());
throw new DateTimeException("Unable to extract value: " + dateTime.getClass());
}
return result;
}
Expand Down

0 comments on commit 119fccb

Please sign in to comment.