Added exception handling to PublisherBase