|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.ibm.portal.pcm.exception.PCMException com.ibm.portal.pcm.exception.DialogServiceException
public class DialogServiceException
General exception for problems during all dialog service specific operations.
Field Summary | |
---|---|
protected com.ibm.wps.util.MessageCode |
messageCode
The message of this exception. |
Constructor Summary | |
---|---|
DialogServiceException(com.ibm.wps.util.MessageCode messageCode)
Creates a dialog service exception with the given message. |
|
DialogServiceException(com.ibm.wps.util.MessageCode messageCode,
java.lang.Object object)
Creates a dialog service exception with the given message and a provided object for the message. |
|
DialogServiceException(com.ibm.wps.util.MessageCode messageCode,
java.lang.Object[] objects)
Creates a dialog service exception with the given message and provided objects for the message. |
|
DialogServiceException(com.ibm.wps.util.MessageCode messageCode,
java.lang.Object[] objects,
java.lang.Throwable cause)
Creates a dialog service exception with the given message and provided objects for the message. |
|
DialogServiceException(com.ibm.wps.util.MessageCode messageCode,
java.lang.Object object,
java.lang.Throwable cause)
Creates a dialog service exception with the given message and a provided object for the message. |
|
DialogServiceException(com.ibm.wps.util.MessageCode messageCode,
java.lang.Throwable cause)
Creates a dialog service exception with the given message. |
Method Summary | |
---|---|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the description of this object in the given locale. |
ListModel<java.util.Locale> |
getLocales()
Returns a list model containing the locales that are supported by this object. |
java.lang.String |
getTitle(java.util.Locale locale)
Returns the title of this object in the given locale. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 |
---|
protected final com.ibm.wps.util.MessageCode messageCode
Constructor Detail |
---|
public DialogServiceException(com.ibm.wps.util.MessageCode messageCode, java.lang.Object[] objects, java.lang.Throwable cause)
messageCode
- The message of this exceptionobjects
- Objects for the message of this exceptioncause
- Optional cause of this exceptionpublic DialogServiceException(com.ibm.wps.util.MessageCode messageCode, java.lang.Object object, java.lang.Throwable cause)
messageCode
- The message of this exceptionobject
- Object for the message of this exceptioncause
- Optional cause of this exceptionpublic DialogServiceException(com.ibm.wps.util.MessageCode messageCode, java.lang.Throwable cause)
messageCode
- The message of this exceptioncause
- Optional cause of this exceptionpublic DialogServiceException(com.ibm.wps.util.MessageCode messageCode, java.lang.Object[] objects)
messageCode
- The message of this exceptionobjects
- Objects for the message of this exceptionpublic DialogServiceException(com.ibm.wps.util.MessageCode messageCode, java.lang.Object object)
messageCode
- The message of this exceptionobject
- Object for the message of this exceptionpublic DialogServiceException(com.ibm.wps.util.MessageCode messageCode)
messageCode
- The message of this exceptionMethod Detail |
---|
public java.lang.String getTitle(java.util.Locale locale)
Localized
getTitle
in interface Localized
locale
- the locale for which to retrieve the title, must not
be null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanism.public java.lang.String getDescription(java.util.Locale locale)
Localized
getDescription
in interface Localized
locale
- the locale for which to retrieve the description, must not
be null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanismpublic ListModel<java.util.Locale> getLocales()
Localized
getLocales
in interface Localized
ListModel
if no locales are supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |