public Uri pathOnly()
{
if (m_pathStr == null)
throw Err.make("Uri has no path: " + this).val;
if (m_scheme == null && m_userInfo == null && m_host == null &&
m_port == null && m_queryStr == null && m_frag == null)
return this;
Sections t = new Sections();
t.path = this.m_path;
t.pathStr = this.m_pathStr;
t.query = emptyQuery();
t.str = this.m_pathStr;
return new Uri(t);
}