1 <p> This Serializable class is an inner class of a non-serializable class.
2 Thus, attempts to serialize it will also attempt to associate instance of the outer
3 class with which it is associated, leading to a runtime error.
5 <p>If possible, making the inner class a static inner class should solve the
6 problem. Making the outer class serializable might also work, but that would
7 mean serializing an instance of the inner class would always also serialize the instance
8 of the outer class, which it often not what you really want.