IllegalStateException should be whitelisted in Serializer by default
In diqube I had the case that sometimes my CopycatClient was not able to register its session, which happened if the server it connected to was in InactiveState. I found that InactiveState sends an IllegalStateException as response, but the serializer cannot serialize it, as I did not manually whitelist it and it is not whitelisted by default. Therefore the client never received the result that it cannot register its session and the client became stuck therefore.
Actually, if there are any other (Runtime)Exceptions thrown throughout copycat code that might end up needing to be serialized, then all of these exception classes should be whitelisted automatically, I think. People who use copycat should only be responsible to whitelist those classes (and exceptions) which they need in their StateMachines etc.