catch( Throwable e ) { getLogger().error( "Application registry creation error.", e ); throw new RuntimeException(); }
    private RegistryDescriptor loadRegistryDescriptor( URL url )    {        if( null == url )        {            return new RegistryDescriptor( new Entry[0] );        }                final ClassLoader loader = Thread.currentThread().getContextClassLoader();        try        {            InputStream input = url.openStream();            ClassLoader context = RegistryDescriptor.class.getClassLoader();            Thread.currentThread().setContextClassLoader( context );            XMLDecoder decoder = new XMLDecoder( new BufferedInputStream( input ) );            return (RegistryDescriptor) decoder.readObject();        }        catch( FileNotFoundException e )        {            return new RegistryDescriptor( new Entry[0] );        }        catch( Throwable e )        {            getLogger().error( "Application registry creation error.", e );             throw new RuntimeException();        }        finally        {            Thread.currentThread().setContextClassLoader( loader );        }    }