stream() throws Exception {
try {
return this.streamInternal();
- } catch (UnsupportedOperationException e) {
+ } catch (OSHDBNotImplementedException e) {
LOG.info("stream not directly supported by chosen backend, falling back to "
+ ".collect().stream()");
return this.collect().stream();
diff --git a/oshdb-filter/pom.xml b/oshdb-filter/pom.xml
index 822a39bef..6843984da 100644
--- a/oshdb-filter/pom.xml
+++ b/oshdb-filter/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-parent
- 1.2.0
+ 1.2.1
oshdb-filter
diff --git a/oshdb-helpers/oshdb-application-template/pom.xml b/oshdb-helpers/oshdb-application-template/pom.xml
index 21ddd97cb..377dd676e 100644
--- a/oshdb-helpers/oshdb-application-template/pom.xml
+++ b/oshdb-helpers/oshdb-application-template/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-helpers
- 1.2.0
+ 1.2.1
oshdb-application-template
diff --git a/oshdb-helpers/oshdb-database-driver/pom.xml b/oshdb-helpers/oshdb-database-driver/pom.xml
index 6c9361372..408c48cff 100644
--- a/oshdb-helpers/oshdb-database-driver/pom.xml
+++ b/oshdb-helpers/oshdb-database-driver/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-helpers
- 1.2.0
+ 1.2.1
oshdb-database-driver
diff --git a/oshdb-helpers/pom.xml b/oshdb-helpers/pom.xml
index 32fa23aff..d4aded9d4 100644
--- a/oshdb-helpers/pom.xml
+++ b/oshdb-helpers/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-parent
- 1.2.0
+ 1.2.1
oshdb-helpers
diff --git a/oshdb-oshpbf-parser/pom.xml b/oshdb-oshpbf-parser/pom.xml
index 47dba7c81..70f414e9c 100644
--- a/oshdb-oshpbf-parser/pom.xml
+++ b/oshdb-oshpbf-parser/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-parent
- 1.2.0
+ 1.2.1
oshdb-oshpbf-parser
diff --git a/oshdb-tool/pom.xml b/oshdb-tool/pom.xml
index dc428eb1f..18c0e965c 100644
--- a/oshdb-tool/pom.xml
+++ b/oshdb-tool/pom.xml
@@ -3,7 +3,7 @@
org.heigit.ohsome
oshdb-parent
- 1.2.0
+ 1.2.1
oshdb-tool
diff --git a/oshdb-util/pom.xml b/oshdb-util/pom.xml
index c6c8e6c50..59d47aaff 100644
--- a/oshdb-util/pom.xml
+++ b/oshdb-util/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-parent
- 1.2.0
+ 1.2.1
oshdb-util
diff --git a/oshdb-util/src/main/java/org/heigit/ohsome/oshdb/util/exceptions/OSHDBNotImplementedException.java b/oshdb-util/src/main/java/org/heigit/ohsome/oshdb/util/exceptions/OSHDBNotImplementedException.java
new file mode 100644
index 000000000..6a8ebc5c1
--- /dev/null
+++ b/oshdb-util/src/main/java/org/heigit/ohsome/oshdb/util/exceptions/OSHDBNotImplementedException.java
@@ -0,0 +1,14 @@
+package org.heigit.ohsome.oshdb.util.exceptions;
+
+/**
+ * An exception which is thrown when a particular feature is not implemented in the OSHDB.
+ *
+ *
+ * Mostly used internally for specific code paths for which fallback routines are implemented.
+ *
+ */
+public class OSHDBNotImplementedException extends OSHDBException {
+ public OSHDBNotImplementedException(String message) {
+ super(message);
+ }
+}
diff --git a/oshdb/pom.xml b/oshdb/pom.xml
index c0b411be6..a59913cb1 100644
--- a/oshdb/pom.xml
+++ b/oshdb/pom.xml
@@ -5,7 +5,7 @@
org.heigit.ohsome
oshdb-parent
- 1.2.0
+ 1.2.1
oshdb
diff --git a/pom.xml b/pom.xml
index d518e8fe7..4f4ecb09b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
oshdb-parent
- 1.2.0
+ 1.2.1
OSHDB parent module
Common dependencies, settings and profiles that are shared by all components of the OSHDB
pom
@@ -33,7 +33,6 @@
31.1-jre
1.19.0
- 0.17.0
1.4.197
42.5.4