Serializable exceptions

Properly implement `ISerializable` for all exception classes.