public class LocaleException extends PortalException
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CONTENT |
static int |
TYPE_DEFAULT |
static int |
TYPE_DISPLAY_SETTINGS |
static int |
TYPE_EXPORT_IMPORT |
Constructor and Description |
---|
LocaleException() |
LocaleException(int type) |
LocaleException(int type,
String msg) |
LocaleException(int type,
String msg,
Throwable cause) |
LocaleException(int type,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Collection<Locale> |
getSourceAvailableLocales() |
Collection<Locale> |
getTargetAvailableLocales() |
int |
getType() |
void |
setSourceAvailableLocales(Collection<Locale> sourceAvailableLocales) |
void |
setTargetAvailableLocales(Collection<Locale> targetAvailableLocales) |
public static final int TYPE_CONTENT
public static final int TYPE_DEFAULT
public static final int TYPE_DISPLAY_SETTINGS
public static final int TYPE_EXPORT_IMPORT
public LocaleException()
public LocaleException(int type)
public LocaleException(int type, String msg)
public LocaleException(int type, String msg, Throwable cause)
public LocaleException(int type, Throwable cause)
public Collection<Locale> getSourceAvailableLocales()
public Collection<Locale> getTargetAvailableLocales()
public int getType()
public void setSourceAvailableLocales(Collection<Locale> sourceAvailableLocales)
public void setTargetAvailableLocales(Collection<Locale> targetAvailableLocales)