Use JBoss Logging to create i18n exceptions
-------------------------------------------
Key: HSEARCH-863
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-863
Project: Hibernate Search
Issue Type: Improvement
Components: analyzer, directory provider, engine, infinispan, integration,
mapping, massindexer, optimizer, query, serialization
Reporter: Emmanuel Bernard
This is not top priority but new code should follow this and encountered code should be
migrated.
If someone is willing to take the codebase over and convert the better
{code}
@MessageLogger(projectCode = "HSEARCH")
public interface Log extends BasicLogger {
@Message( value="Unable to start serialization layer", id=82 )
SearchException unableToStartSerializationLayer(@Cause Throwable e);
}
{code}
And in the code throwing the exception
{code}
throw log.unableToStartSerializationLayer( e );
{code}
...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira