Throw exceptions from method