org.loom.exception
Interface LocaleAwareThrowable

All Known Implementing Classes:
BusinessException, LocaleAwareException, LocaleAwarePersistenceException, MissingRequiredPropertyException, OptimisticLockException, UnhandledValidationErrorsException

public interface LocaleAwareThrowable

Implemented by exceptions that can return messages for the configured locale. Subclasses should return the message key to be retrieved from the messages repository.


Method Summary
 Message getLocaleAwareMessage()
           
 

Method Detail

getLocaleAwareMessage

Message getLocaleAwareMessage()
Returns:
the message key that will be looked for ion the current MessagesRepository