Shared exceptions should be serializable

@Chris-V do you think that it would be that simple to fix #14 ?