Added serialization constructor to the exceptions.