Moved some error checks to their own private function in the Money class.