public class UnsupportedLanguagePairException extends InvalidParameterException
Constructor and Description |
---|
UnsupportedLanguagePairException() |
UnsupportedLanguagePairException(String parameterName1,
String parameterName2,
String language1,
String language2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLanguage1()
Gets the first language.
|
String |
getLanguage2()
Gets the second language.
|
String |
getParameterName1()
Returns the first parameter name.
|
String |
getParameterName2()
Returns the first parameter name.
|
void |
setLanguage1(String language1) |
void |
setLanguage2(String language2) |
void |
setParameterName1(String parameterName1) |
void |
setParameterName2(String parameterName2) |
getParameterName, setParameterName
getDescription, getMessage, setDescription
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedLanguagePairException()
public UnsupportedLanguagePairException(String parameterName1, String parameterName2, String language1, String language2)
parameterName1
- Name of parameter that took the first languageparameterName2
- Name of parameter that took the second languagelanguage1
- First languagelanguage2
- Second languagepublic String getParameterName1()
public void setParameterName1(String parameterName1)
public String getParameterName2()
public void setParameterName2(String parameterName2)
public String getLanguage1()
public void setLanguage1(String language1)
public String getLanguage2()
public void setLanguage2(String language2)