| |||||||||
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.resolver.exceptions.ResolutionException
public abstract class ResolutionException
Baseclass for the exceptions that can occur during the resolution process
Constructor Summary | |
---|---|
protected | ResolutionException()
Default exception without a cause |
protected | ResolutionException(java.lang.Throwable th)
Exception that contains a root cause |
Method Summary | |
---|---|
java.lang.String | getDescription(java.util.Locale aLocale)
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. |
static Localized | getLocalized(java.lang.Throwable ex)
Converts any exception into a localized object |
java.lang.String | getLocalizedMessage()
|
static LocalizedStatus | getLocalizedStatus(Localized ex,
int aStatus)
|
java.lang.String | getMessage()
|
int | getStatus()
Returns as a hint to the client the recommended HTTP status code. |
protected java.lang.String | getTitle(MessageCode code,
java.lang.Object[] obj,
java.util.Locale loc)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.portal.Localized |
---|
getTitle |
Constructor Detail |
---|
protected ResolutionException()
protected ResolutionException(java.lang.Throwable th)
Method Detail |
---|
public static Localized getLocalized(java.lang.Throwable ex)
public static LocalizedStatus getLocalizedStatus(Localized ex, int aStatus)
public java.lang.String getDescription(java.util.Locale aLocale)
null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanismpublic ListModel<java.util.Locale> getLocales()
public java.lang.String getLocalizedMessage()
public java.lang.String getMessage()
public int getStatus()
protected java.lang.String getTitle(MessageCode code, java.lang.Object[] obj, java.util.Locale loc)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |