Class LocaleException
Object
Throwable
Exception
com.liferay.portal.kernel.exception.NestableException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.LocaleException
- All Implemented Interfaces:
Serializable
- Author:
- Brian Wing Shun Chan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionLocaleException
(int type) LocaleException
(int type, String msg) LocaleException
(int type, String msg, Throwable throwable) LocaleException
(int type, Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionint
getType()
void
setSourceAvailableLanguageIds
(Collection<String> sourceAvailableLanguageIds) void
setSourceAvailableLocales
(Collection<Locale> sourceAvailableLocales) void
setTargetAvailableLanguageIds
(Collection<String> targetAvailableLanguageIds) void
setTargetAvailableLocales
(Collection<Locale> targetAvailableLocales) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TYPE_CONTENT
public static final int TYPE_CONTENT- See Also:
-
TYPE_DEFAULT
public static final int TYPE_DEFAULT- See Also:
-
TYPE_DISPLAY_SETTINGS
public static final int TYPE_DISPLAY_SETTINGS- See Also:
-
TYPE_EXPORT_IMPORT
public static final int TYPE_EXPORT_IMPORT- See Also:
-
-
Constructor Details
-
LocaleException
public LocaleException() -
LocaleException
public LocaleException(int type) -
LocaleException
-
LocaleException
-
LocaleException
-
-
Method Details
-
getSourceAvailableLanguageIds
-
getSourceAvailableLocales
-
getTargetAvailableLanguageIds
-
getTargetAvailableLocales
-
getType
public int getType() -
setSourceAvailableLanguageIds
-
setSourceAvailableLocales
-
setTargetAvailableLanguageIds
-
setTargetAvailableLocales
-