Exception mechanism needs to be implemented properly. The Methods for serialize/deserialize need to always return a Exception object, whether it is null or whether it holds an Exception.
refactored both Serialize & Deserialize Methods. Both Functions have a built-in try-catch Block. If a Exception occurs then the exception object is thrown.
Exception mechanism needs to be implemented properly. The Methods for serialize/deserialize need to always return a Exception object, whether it is null or whether it holds an Exception.