if(keyattr==null) throw new RuntimeException("Index attribute not specified: "+attribute); Object key = getAttributeValue(value, keyattr); if(key==null) throw new RuntimeException("Null key not allowed: "+attribute);
if(keyattr==null) throw new RuntimeException("Index attribute not specified: "+attribute); Object key = getAttributeValue(value, keyattr); if(key==null) throw new RuntimeException("Null key not allowed: "+attribute);