johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject jaxrs and exception handling
Date Wed, 22 Jul 2015 23:43:39 GMT
Hi

how should we handle exceptions having themself as root cause?

Simple solution is to detect the loop and skip the serialization that said
it can be valid as well - not sure somebody would do it with exception but
for other types it can.

Of course actual issue is to avoid Stackoverflow exception during
serialization.

Wdyt?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message