Do not throw exceptions from classes