public static void assertPropName(String propName) throws XMPException {
  if (propName == null || propName.length() == 0) {
    throw new XMPException("Empty property name",XMPError.BADPARAM);
  }
}

public static void assertPropName ( String propName ) throws XMPException { if ( propName == null || propName . length ( ) == 0 ) { throw new XMPException ( "Empty property name" , XMPError . BADPARAM ) ; } }
asserts that a property name is set .
