Updated feature: Modified throw exceptions for Post Class