Author: sannegrinovero
Date: 2009-03-05 13:55:28 -0500 (Thu, 05 Mar 2009)
New Revision: 16086
Modified:
search/trunk/src/java/org/hibernate/search/store/DirectoryProviderFactory.java
Log:
trivial fix in exception messages: IndexShardingStrategy still called as ShardingStrategy
Modified: search/trunk/src/java/org/hibernate/search/store/DirectoryProviderFactory.java
===================================================================
---
search/trunk/src/java/org/hibernate/search/store/DirectoryProviderFactory.java 2009-03-05
15:36:46 UTC (rev 16085)
+++
search/trunk/src/java/org/hibernate/search/store/DirectoryProviderFactory.java 2009-03-05
18:55:28 UTC (rev 16086)
@@ -82,18 +82,18 @@
shardingStrategy = (IndexShardingStrategy) shardigStrategyClass.newInstance();
}
catch (ClassNotFoundException e) {
- throw new SearchException( "Unable to find ShardingStrategy class " +
shardingStrategyName + " for " + directoryProviderName, e );
+ throw new SearchException( "Unable to find IndexShardingStrategy class " +
shardingStrategyName + " for " + directoryProviderName, e );
}
catch (IllegalAccessException e) {
- throw new SearchException( "Unable to create instance of ShardingStrategy class
" + shardingStrategyName
+ throw new SearchException( "Unable to create instance of IndexShardingStrategy
class " + shardingStrategyName
+ " Be sure to have a no-arg constructor", e );
}
catch (InstantiationException e) {
- throw new SearchException( "Unable to create instance of ShardingStrategy class
" + shardingStrategyName
+ throw new SearchException( "Unable to create instance of IndexShardingStrategy
class " + shardingStrategyName
+ " Be sure to have a no-arg constructor", e );
}
catch (ClassCastException e) {
- throw new SearchException( "ShardingStrategy class does not implements
DirecotryProviderShardingStrategy: "
+ throw new SearchException( "ShardingStrategy class does not implement
IndexShardingStrategy: "
+ shardingStrategyName, e );
}
}
Show replies by date