Package org.apache.maven.archiva.consumers

Examples of org.apache.maven.archiva.consumers.ConsumerException


          artifactDAO.deleteArtifact( artifact );
          }       
      }
      catch ( RepositoryException re )
      {
        throw new ConsumerException( "Can't run database cleanup remove artifact consumer: " +
            re.getMessage() );
      }
      catch ( ArchivaDatabaseException e )
        {
            throw new ConsumerException( e.getMessage() );
        }
    }     
View Full Code Here


            projectModelDAO.deleteProjectModel( projectModel );           
          }
      }
      catch ( RepositoryException re )
      {       
        throw new ConsumerException( "Can't run database cleanup remove artifact consumer: " +
            re.getMessage() );
      }
      catch ( ArchivaDatabaseException e )
        {     
            throw new ConsumerException( e.getMessage() );
        }     
     
    }
View Full Code Here

        {
            return repositoryFactory.getManagedRepositoryContent( repoId );
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( "Unable to process project model: " + e.getMessage(), e );
        }
    }
View Full Code Here

        }
        catch ( ArchivaDatabaseException e )
        {
            String emsg = "Unable to save problem with artifact location to DB: " + e.getMessage();
            getLogger().warn( emsg, e );
            throw new ConsumerException( emsg, e );
        }
    }
View Full Code Here

            deleteReleasedSnapshots = repository.isDeleteReleasedSnapshots();
        }
        catch ( RepositoryNotFoundException e )
        {
            throw new ConsumerException( "Can't run repository purge: " + e.getMessage(), e );
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( "Can't run repository purge: " + e.getMessage(), e );
        }
    }
View Full Code Here

            repoPurge.process( path );
        }
        catch ( RepositoryPurgeException rpe )
        {
            throw new ConsumerException( rpe.getMessage(), rpe );
        }
    }
View Full Code Here

                bytecodeIndex.deleteRecord( bytecodeRecord );
            }               
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( "Can't run index cleanup consumer: " + e.getMessage() );
        }
        catch ( RepositoryIndexException e )
        {
            throw new ConsumerException( e.getMessage() );
        }
    }
View Full Code Here

                }
            }
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( "Can't run index cleanup consumer: " + e.getMessage() );
        }
        catch ( RepositoryIndexException e )
        {
            throw new ConsumerException( "Error encountered while adding artifact to index: " + e.getMessage() );
        }
        catch ( IOException e )
        {
            throw new ConsumerException( "Error encountered while getting file contents: " + e.getMessage() );
        }
    }
View Full Code Here

                }
                catch ( ArchivaDatabaseException e )
                {
                    String emsg = "Unable to save problem with duplicate artifact to DB: " + e.getMessage();
                    log.warn( emsg, e );
                    throw new ConsumerException( emsg, e );
                }
            }
        }
    }
View Full Code Here

        }
        catch ( ArchivaDatabaseException e )
        {
            String emsg = "Unable to save problem with artifact location to DB: " + e.getMessage();
            log.warn( emsg, e );
            throw new ConsumerException( emsg, e );
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.archiva.consumers.ConsumerException

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.