getRequired method
Get a property, throwing if not set.
Implementation
MarshalledObject getRequired(String property)
{
MarshalledObject? object = get(property);
if (object == null) {
throw new IllegalStateException("MarshalledObject: During unmarshalling, the application tried to access '${property}' as a required property, but it was null.");
}
return object;
}