Package org.codehaus.plexus.personality.plexus.lifecycle.phase

Examples of org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException


                            log.error( "Invalid build agent URL {}, not creating distributed build queue",
                                       agent.getUrl() );
                        }
                        catch ( ContinuumException e )
                        {
                            throw new InitializationException( "Error while initializing distributed build queues", e );
                        }
                        catch ( Exception e )
                        {
                            agent.setEnabled( false );
                            log.debug( "unable to ping build agent '{}' : {}", agent.getUrl(),
View Full Code Here


        {
            initializeDefaultContinuumBuildDefintions();
        }
        catch ( BuildDefinitionServiceException e )
        {
            throw new InitializationException( e.getMessage(), e );
        }
    }
View Full Code Here

            altConfigFilename = expressionEvaluator.expand( altConfigFilename );
            loadConfiguration();
        }
        catch ( EvaluatorException e )
        {
            throw new InitializationException( "Unable to evaluate expressions found in "
                + "userConfigFilename or altConfigFilename." );
        }
        registry.addChangeListener( this );
    }
View Full Code Here

            initialiseTypeMap( defaultConfig );
        }
        catch ( RegistryException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( SecurityException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( NoSuchFieldException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( IllegalArgumentException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( IllegalAccessException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }

        this.archivaConfiguration.addChangeListener( this );
    }
View Full Code Here

            initialiseTypeMap( defaultConfig );
        }
        catch ( RegistryException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( SecurityException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( NoSuchFieldException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( IllegalArgumentException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( IllegalAccessException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }

        this.archivaConfiguration.addChangeListener( this );
    }
View Full Code Here

                    initContext( wdc, context );
                }
            }
            catch ( Exception e )
            {
                throw new InitializationException( "Unable to initialize.", e );
            }
        }
    }
View Full Code Here

            initialiseTypeMap( defaultConfig );
        }
        catch ( RegistryException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( SecurityException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( NoSuchFieldException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( IllegalArgumentException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }
        catch ( IllegalAccessException e )
        {
            throw new InitializationException( errMsg + e.getMessage(), e );
        }

        this.archivaConfiguration.addChangeListener( this );
    }
View Full Code Here

            CollectionUtils.forAllDo( resp, new AddFileTypeToDefaultMap() );
        }
        catch ( XMLException e )
        {
            throw new InitializationException( "Unable to setup default filetype maps.", e );
        }
    }
View Full Code Here

            CollectionUtils.forAllDo( resp, new AddFileTypeToDefaultMap() );
        }
        catch ( XMLException e )
        {
            throw new InitializationException( "Unable to setup default filetype maps.", e );
        }
    }
View Full Code Here

            properties.load( resourceAsStream );

            String property = properties.getProperty( "version" );
            if ( property == null )
            {
                throw new InitializationException( "maven-core properties did not include the version" );
            }

            applicationVersion = new DefaultArtifactVersion( property );
        }
        catch ( IOException e )
        {
            throw new InitializationException( "Unable to read properties file from maven-core", e );
        }
        finally
        {
            IOUtil.close( resourceAsStream );
        }
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.