public interface IProblemFactory
| Modifier and Type | Method and Description |
|---|---|
CategorizedProblem |
createProblem(char[] originatingFileName,
int problemId,
String[] problemArguments,
int elaborationId,
String[] messageArguments,
int severity,
int startPosition,
int endPosition,
int lineNumber,
int columnNumber)
Answer a new IProblem created according to the parameters values.
|
CategorizedProblem |
createProblem(char[] originatingFileName,
int problemId,
String[] problemArguments,
String[] messageArguments,
int severity,
int startPosition,
int endPosition,
int lineNumber,
int columnNumber) |
Locale |
getLocale() |
String |
getLocalizedMessage(int problemId,
int elaborationId,
String[] messageArguments)
Inject the supplied message arguments into a localized template
elaborated from the supplied problem id and an optional elaboration id
and return the resulting message.
|
String |
getLocalizedMessage(int problemId,
String[] messageArguments) |
CategorizedProblem createProblem(char[] originatingFileName, int problemId, String[] problemArguments, String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber, int columnNumber)
CategorizedProblem createProblem(char[] originatingFileName, int problemId, String[] problemArguments, int elaborationId, String[] messageArguments, int severity, int startPosition, int endPosition, int lineNumber, int columnNumber)
originatingFileName - the name of the file from which the problem is originatedproblemId - the problem idproblemArguments - the fully qualified arguments recorded inside the problemelaborationId - the message elaboration id (0 for problems that have no message elaboration)messageArguments - the arguments needed to set the error message (shorter names than problemArguments ones)severity - the severity of the problemstartPosition - the start position of the problemendPosition - the end position of the problemlineNumber - the line on which the problem occurredLocale getLocale()
String getLocalizedMessage(int problemId, int elaborationId, String[] messageArguments)
problemId - the problem id taken from
IProblem constantselaborationId - 0 if the considered problem has no elaboration, a
valid elaboration id elsemessageArguments - the arguments to inject into the templateCopyright © 2013. All rights reserved.