Replaced ThrowError with Exceptions in Controller