Class LanguageNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException
de.hybris.platform.odata2services.odata.OData2ServicesException
de.hybris.platform.odata2services.odata.persistence.LanguageNotSupportedException
- All Implemented Interfaces:
Serializable
Indicates an attempt to use an invalid or unsupported ISO code with the localized data.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLanguageNotSupportedException(String isoCode) Instantiates this exception without a root cause.LanguageNotSupportedException(String language, Exception e) Constructor to create LanguageNotSupportedException -
Method Summary
Methods inherited from class org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException
getCode, getHttpStatus, getLocaleMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LanguageNotSupportedException
Instantiates this exception without a root cause.- Parameters:
isoCode- an invalid ISO code or an ISO code that is not supported by the Integration API
-
LanguageNotSupportedException
Constructor to create LanguageNotSupportedException- Parameters:
language- language that does not correspond to an existingLanguageModele- exception that was thrown
-
-
Method Details
-
getLanguage
-