Ethics and Technologies of War

Are there any situations where torture could be morally justified? If so, how? If not, why not?