com.ibm.workplace.wcm.api.editions
Class EditionServiceNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.workplace.wcm.api.exceptions.WCMException
com.ibm.workplace.wcm.api.exceptions.ServiceNotAvailableException
com.ibm.workplace.wcm.api.editions.EditionServiceNotAvailableException
- All Implemented Interfaces:
- Localized, java.io.Serializable
public class EditionServiceNotAvailableException
- extends com.ibm.workplace.wcm.api.exceptions.ServiceNotAvailableException
EditionServiceNotAvailableException thrown when the EditionService is not available
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
COPYRIGHT
copyright |
Method Summary |
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized message for this exception. |
ListModel<java.util.Locale> |
getLocales()
Locales suppported by the Localized message. |
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized message for this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
protected static final java.lang.String COPYRIGHT
- copyright
- See Also:
- Constant Field Values
EditionServiceNotAvailableException
public EditionServiceNotAvailableException(java.lang.Exception p_cause)
- Constructs a
EditionServiceNotAvailableException
with the cause
- Parameters:
p_cause
- the cause of the exception.
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Description copied from class:
WCMException
- Returns the localized message for this exception.
- Specified by:
getDescription
in interface Localized
- Overrides:
getDescription
in class WCMException
- Parameters:
locale
- the desired Locale for the message
- Returns:
- localized message for this exception.
getLocales
public ListModel<java.util.Locale> getLocales()
- Description copied from class:
WCMException
- Locales suppported by the Localized message.
- Specified by:
getLocales
in interface Localized
- Overrides:
getLocales
in class WCMException
- Returns:
- the locales supported by the localized message if one is defined otherwise returns an empty list.
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Description copied from class:
WCMException
- Returns the localized message for this exception.
- Specified by:
getTitle
in interface Localized
- Overrides:
getTitle
in class WCMException
- Parameters:
locale
- the desired Locale for the message
- Returns:
- localized message for this exception.