getOrThrow

fun getOrThrow(): V

Returns the value if this Optional is Present or throws MissingValueException else.