234235236237238239240241
json.putOpt(key, jsonarray); } protected void assertNull(String name, Object value) { if (value != null) { throw new RepresentationValidationException(name + " should be null!"); } }
240241242243244245246247
} } protected void assertNotNull(String name, Object value) { if (value == null) { throw new RepresentationValidationException(name + " should not be null!"); } }