EPSGFactory changes for revisions 25391:25392

This commit has been reverted. However SIS catches Exception instead than FactoryException. This change has been mandated by the fact that SIS invokes a java.util.concurrent.Callable.call() method.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r25391:25392 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/factory/epsg/ThreadedEpsgFactory.java
Revision 25391Revision 25392
synchronized (DefaultFactory.this) {
    try {
        dispose();
    } catch (FactoryException exception) {
        // To late for logging, since the JVM is
        // in process of shutting down. Ignore...
    }
synchronized (DefaultFactory.this) {
    try {
        dispose();
    } catch (Throwable exception) {
        // To late for logging, since the JVM is
        // in process of shutting down. Ignore...
    }