Simplify file name extraction from URI.

  - When using a URI like classpath:foo.xml, you can just use the URI.getSchemeSpecificPart() method to get everything after the colon (up to the #fragment part which is excluded of course).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1602615 13f79535-47bb-0310-9956-ffa450edef68
Remove redundant catches.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1602616 13f79535-47bb-0310-9956-ffa450edef68