aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2018-05-15 15:52:30 -0700
committerKristen Kozak <sebright@google.com>2018-05-15 17:00:38 -0700
commit6966d688ea5b14bb8c6fe8e319c5c1bcecf06e50 (patch)
treee4cb6de7bebd68d54a031e3f0447309a7fb90e8c /CHANGELOG.md
parent8d9515345f12a68bf4d8f87cac6e6fedccae2ac4 (diff)
downloadopencensus-java-6966d688ea5b14bb8c6fe8e319c5c1bcecf06e50.tar.gz
Throw IllegalArgumentException when Timestamp.create receives invalid arguments.
Throwing IllegalArgumentException for invalid arguments is more consistent with the rest of the opencensus-java API. This commit also fixes a test that created an invalid Timestamp.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b887c192..3e92bfaa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
- Adds Tracing.getExportComponent().shutdown() for use within application shutdown hooks.
- `Duration.create` now throws an `IllegalArgumentException` instead of
returning a zero `Duration` when the arguments are invalid.
+- `Timestamp.create` now throws an `IllegalArgumentException` instead of
+ returning a zero `Timestamp` when the arguments are invalid.
## 0.13.2 - 2018-05-08
- Map http attributes to Stackdriver format (fix [#1153](https://github.com/census-instrumentation/opencensus-java/issues/1153)).