summaryrefslogtreecommitdiff
path: root/eaaf_core_utils/src/main/java/at
diff options
context:
space:
mode:
authorThomas <>2023-06-06 08:21:12 +0200
committerThomas <>2023-06-06 08:21:12 +0200
commit0b9a16e74f1aef687dc1dd397b0b8495ef64a1af (patch)
treeca9411f6fe5130f7ba2ae8201115cb8133593f8e /eaaf_core_utils/src/main/java/at
parentd225d5ed5a77a2692ff98115309911ca273b2119 (diff)
downloadEAAF-Components-0b9a16e74f1aef687dc1dd397b0b8495ef64a1af.tar.gz
EAAF-Components-0b9a16e74f1aef687dc1dd397b0b8495ef64a1af.tar.bz2
EAAF-Components-0b9a16e74f1aef687dc1dd397b0b8495ef64a1af.zip
fix(core): add some more allowed classes to Exception deserialization.
Diffstat (limited to 'eaaf_core_utils/src/main/java/at')
-rw-r--r--eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/data/ExceptionContainer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/data/ExceptionContainer.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/data/ExceptionContainer.java
index 586e819d..e7f952e4 100644
--- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/data/ExceptionContainer.java
+++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/data/ExceptionContainer.java
@@ -56,7 +56,8 @@ public class ExceptionContainer implements Serializable {
private static final long serialVersionUID = 5355860753609684995L;
private static final Set<Class<?>> ALLOWED_CLASS_TYPES = Stream.of(
- Throwable.class, StackTraceElement.class, StackTraceElement[].class, Collections.EMPTY_LIST.getClass())
+ Throwable.class, StackTraceElement.class, StackTraceElement[].class, Collections.EMPTY_LIST.getClass(),
+ Integer.class, Long.class, Double.class, Float.class, String.class, Number.class)
.collect(Collectors.toUnmodifiableSet());
/**