Fix SerializationException because of missing an exception's constractor