getValueOrThrow

Gets the value of a property identified by the specified key from a Properties object.

Return

the value of the property as a String

Parameters

properties

the Properties object to retrieve the value from

key

the key to identify the property

Throws

if the key is not found in the Properties object