1

Am working on a small internal tool which for sure will not focus on scalability.

  • I am 100% sure that there will not be any external dependencies to the code i am writing now or in the future - hence no worry on marshalling between different app-domains.
  • I will be logging the exceptions and is quiet unlikely that there will be some post-mortem analysis by tools.
  • does not abide by the initial design to send exceptions throw wire

In such a scenario, do i still need my exceptions to have explicit serialVersionUID? Will serialVersionUID be helpful to just log the object?

Community
  • 1
  • 1
  • Depends on what the logger you are using does. Though in general, if there is no need for (de) serialization of any of the exception instances, you won't need a serialization implementation. – n247s Sep 12 '16 at 07:44

0 Answers0