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

public class LanguageNotSupportedException extends OData2ServicesException
Indicates an attempt to use an invalid or unsupported ISO code with the localized data.
See Also:
  • Constructor Details

    • LanguageNotSupportedException

      public LanguageNotSupportedException(String isoCode)
      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

      public LanguageNotSupportedException(String language, Exception e)
      Constructor to create LanguageNotSupportedException
      Parameters:
      language - language that does not correspond to an existing LanguageModel
      e - exception that was thrown
  • Method Details

    • getLanguage

      public String getLanguage()