|
||||||||||
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.workplace.wcm.api.exceptions.WCMException com.ibm.workplace.wcm.api.extensions.url.ContentUrlGenerationException
public class ContentUrlGenerationException
Exception that occurred during content URL generation
Field Summary |
---|
Fields inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException |
---|
ERR_APTRIX |
Constructor Summary | |
---|---|
ContentUrlGenerationException()
Constructs a new exception with no message or details |
|
ContentUrlGenerationException(java.lang.String detail)
Constructs a new exception with the given message. |
|
ContentUrlGenerationException(java.lang.String detail,
java.lang.Throwable cause)
Constructs a new exception with the given message and an exception that caused this exception |
|
ContentUrlGenerationException(java.lang.Throwable cause)
Constructs a new exception from an exception that caused this exception |
|
ContentUrlGenerationException(java.lang.Throwable cause,
Localized localized)
Constructs a new exception from an exception that caused this exception and a localized object |
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 |
getLocalizedMessage()
|
java.lang.String |
getMessage()
Retrieves the message that accompanies this exception. |
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized message for this exception. |
Methods inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException |
---|
getCause, getErrorCode, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentUrlGenerationException()
public ContentUrlGenerationException(java.lang.Throwable cause)
cause
- the exception that caused this exceptionpublic ContentUrlGenerationException(java.lang.Throwable cause, Localized localized)
cause
- the exception that caused this exceptionlocalized
- object used to get localized informationpublic ContentUrlGenerationException(java.lang.String detail)
detail
- the messagepublic ContentUrlGenerationException(java.lang.String detail, java.lang.Throwable cause)
detail
- the messagecause
- the exception that caused this exceptionMethod Detail |
---|
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
WCMException
getMessage
in class WCMException
public java.lang.String getTitle(java.util.Locale locale)
WCMException
getTitle
in interface Localized
getTitle
in class WCMException
locale
- the desired Locale for the message
public java.lang.String getDescription(java.util.Locale locale)
WCMException
getDescription
in interface Localized
getDescription
in class WCMException
locale
- the desired Locale for the message
public ListModel<java.util.Locale> getLocales()
WCMException
getLocales
in interface Localized
getLocales
in class WCMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |