org.pdfsam.emp4j.messages.interfaces
Interface InquirableMessagesSource
- All Known Implementing Classes:
- AbstractMessagesSource, XmlMessagesSource
public interface InquirableMessagesSource
Interface for the message source
- Author:
- Andrea Vacondio
getLocalizedExceptionMessage
java.lang.String getLocalizedExceptionMessage(java.lang.Object exceptionTypeKey,
int exceptionErrorCode,
java.lang.String[] args)
throws java.lang.Exception
- Parameters:
exceptionTypeKey
- Exception type keyexceptionErrorCode
- Exception error codeargs
- Strings to be substituted to the message
- Returns:
- the localized exception message
- Throws:
java.lang.Exception
getExceptionMessage
java.lang.String getExceptionMessage(java.lang.Object exceptionTypeKey,
int exceptionErrorCode,
java.lang.String[] args)
throws java.lang.Exception
- Parameters:
exceptionTypeKey
- Exception type keyexceptionErrorCode
- Exception error codeargs
- Strings to be substituted to the message
- Returns:
- the exception message
- Throws:
java.lang.Exception
getLocalizedExceptionMessage
java.lang.String getLocalizedExceptionMessage(java.lang.Object exceptionTypeKey,
int exceptionErrorCode)
throws java.lang.Exception
- Parameters:
exceptionTypeKey
- Exception type keyexceptionErrorCode
- Exception error code
- Returns:
- the localized exception message
- Throws:
java.lang.Exception
getExceptionMessage
java.lang.String getExceptionMessage(java.lang.Object exceptionTypeKey,
int exceptionErrorCode)
throws java.lang.Exception
- Parameters:
exceptionTypeKey
- Exception type keyexceptionErrorCode
- Exception error code
- Returns:
- the exception message
- Throws:
java.lang.Exception