Repository navigation
ResourceException: avoid NotSerializableException - #1403
Conversation
tomas-muller
commented
May 9, 2023
- non-serializable internal attributes (status, request, and message) marked as transient
- this is to allow ResourceException to be serialized, passing over the message and stack-trace (which is typically all that is needed to show the error or print it in the log)
- fixes issue org.restlet.resources.ResourceException is not serializable but implements Serializable interface #1402
- non-serializable internal attributes (status, request, and message) marked as transient - this is to allow ResourceException to be serialized, passing over the message and stack-trace (which is typically all that is needed to show the error or print it in the log) - fixes issue restlet#1402
Disclaimer needed now that default serialization silently works.
|
Added a disclaimer to the ResourceException class comment, as discussed in #1402. |
|
hi @tomas-muller |
Hi @thboileau, I have no problem signing a contributor license agreement, however, the link Joint Copyright Assignment (JCA) does not work. Is there an alternative location or can you email it to me at muller@unitime.org? Thanks. |
|
oh I see. Let me check. I'll come back to you |
|
hi @tomas-muller |
Hi @thboileau. This is done. Thank you! |
|
thanks @tomas-muller it will be part of the incoming 2.4.4 version and 2.5.0 version of the framework |