Throw exception in case of serialization issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-12-20 15:13:21 +01:00
parent a80b2cc5a9
commit 3212ceb03c

View File

@ -18,8 +18,9 @@ public class SerializationUtil
so.flush();
return Base64.getEncoder().encodeToString(bo.toByteArray());
}
catch (IOException ignored) {}
return null;
catch (IOException e) {
throw new SerializationException("Error during serialization", e);
}
}
public static LinkedList deserializeBase64(String dataStr) {