Throwing a proper exception.