public class LanguagePairNotUniquelyDecidedException extends InvalidParameterException
Constructor and Description |
---|
LanguagePairNotUniquelyDecidedException() |
LanguagePairNotUniquelyDecidedException(String aParameterName1,
String aParameterName2,
LanguagePair[] candidates)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getCandidates()
Gets valid language pair candidates.
|
String |
getMessage() |
String |
getParameterName1()
Returns the first parameter name.
|
String |
getParameterName2()
Returns the first parameter name.
|
void |
setCandidates(LanguagePair[] candidates)
Sets language pair candidates.
|
void |
setCandidates(String[] candidates) |
void |
setParameterName1(String parameterName1) |
void |
setParameterName2(String parameterName2) |
getParameterName, setParameterName
getDescription, setDescription
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LanguagePairNotUniquelyDecidedException()
public LanguagePairNotUniquelyDecidedException(String aParameterName1, String aParameterName2, LanguagePair[] candidates)
aParameterName1
- First language parameter nameaParameterName2
- Second language parameter namecandidates
- Valid language pair candidatespublic String getParameterName1()
public void setParameterName1(String parameterName1)
public String getParameterName2()
public void setParameterName2(String parameterName2)
public String[] getCandidates()
public void setCandidates(String[] candidates)
public void setCandidates(LanguagePair[] candidates)
candidates
- Language pair candidatespublic String getMessage()
getMessage
in class LangridException