Liferay 6.2-ce-ga5

com.liferay.portal
Class LocaleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.liferay.portal.kernel.exception.NestableException
              extended by com.liferay.portal.kernel.exception.PortalException
                  extended by com.liferay.portal.LocaleException
All Implemented Interfaces:
Serializable

public class LocaleException
extends PortalException

See Also:
Serialized Form

Field Summary
static int TYPE_CONTENT
           
static int TYPE_DEFAULT
           
static int TYPE_DISPLAY_SETTINGS
           
static int TYPE_EXPORT_IMPORT
           
 
Constructor Summary
LocaleException()
           
LocaleException(int type)
           
LocaleException(int type, String msg)
           
LocaleException(int type, String msg, Throwable cause)
           
LocaleException(int type, Throwable cause)
           
 
Method Summary
 Locale[] getSourceAvailableLocales()
           
 Locale[] getTargetAvailableLocales()
           
 int getType()
           
 void setSourceAvailableLocales(Locale[] sourceAvailableLocales)
           
 void setTargetAvailableLocales(Locale[] targetAvailableLocales)
           
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_CONTENT

public static final int TYPE_CONTENT
See Also:
Constant Field Values

TYPE_DEFAULT

public static final int TYPE_DEFAULT
See Also:
Constant Field Values

TYPE_DISPLAY_SETTINGS

public static final int TYPE_DISPLAY_SETTINGS
See Also:
Constant Field Values

TYPE_EXPORT_IMPORT

public static final int TYPE_EXPORT_IMPORT
See Also:
Constant Field Values
Constructor Detail

LocaleException

public LocaleException()

LocaleException

public LocaleException(int type)

LocaleException

public LocaleException(int type,
                       String msg)

LocaleException

public LocaleException(int type,
                       String msg,
                       Throwable cause)

LocaleException

public LocaleException(int type,
                       Throwable cause)
Method Detail

getSourceAvailableLocales

public Locale[] getSourceAvailableLocales()

getTargetAvailableLocales

public Locale[] getTargetAvailableLocales()

getType

public int getType()

setSourceAvailableLocales

public void setSourceAvailableLocales(Locale[] sourceAvailableLocales)

setTargetAvailableLocales

public void setTargetAvailableLocales(Locale[] targetAvailableLocales)

Liferay 6.2-ce-ga5