aboutsummaryrefslogtreecommitdiff
path: root/bindings/java/src/java/com/galois/ppaml/tracer/ClockAcquisitionException.java
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/java/src/java/com/galois/ppaml/tracer/ClockAcquisitionException.java')
-rw-r--r--bindings/java/src/java/com/galois/ppaml/tracer/ClockAcquisitionException.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/bindings/java/src/java/com/galois/ppaml/tracer/ClockAcquisitionException.java b/bindings/java/src/java/com/galois/ppaml/tracer/ClockAcquisitionException.java
new file mode 100644
index 0000000..68b212d
--- /dev/null
+++ b/bindings/java/src/java/com/galois/ppaml/tracer/ClockAcquisitionException.java
@@ -0,0 +1,35 @@
+/* ClockAcquisitionException -- failure to get the time
+ * Copyright (C) 2014 Galois, Inc.
+ *
+ * This library is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * To contact Galois, complete the Web form at
+ * <http://corp.galois.com/contact/> or write to Galois, Inc., 421 Southwest
+ * 6th Avenue, Suite 300, Portland, Oregon, 97204-1622. */
+
+package com.galois.ppaml.tracer;
+
+/**
+ * Signals a failure to get the current time. This could be due to any number
+ * of operating-system dependent factors.
+ */
+public class ClockAcquisitionException extends TimingException {
+
+ static final long serialVersionUID = -5730008048750495655L;
+
+ protected ClockAcquisitionException() {
+ super("could not get current time");
+ }
+
+}