0

Possible Duplicate:
Why should I always make my Exceptions [serializable]? (.NET)

Any one know the reason for that?

Community
  • 1
  • 1
user496949
  • 79,431
  • 144
  • 301
  • 419

1 Answers1

3

Because exceptions can be transmitted across process boundaries, or even machine boundaries (e.g. when using remoting). Being serializable helps a lot in those cases.

Frédéric Hamidi
  • 249,845
  • 40
  • 466
  • 467