git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751608
13f79535-47bb-0310-9956-
ffa450edef68
}
catch ( UnsupportedExistingLuceneIndexException e )
{
- log.error( "Could not create index at " + indexDirectory.getAbsoluteFile(), e );
+ throw new ConsumerException( "Could not create index at " + indexDirectory.getAbsoluteFile(), e );
}
catch ( IOException e )
{
- log.error( "Could not create index at " + indexDirectory.getAbsoluteFile(), e );
+ throw new ConsumerException( "Could not create index at " + indexDirectory.getAbsoluteFile(), e );
}
}
}