| |||||||||
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.ModelException
public abstract class ModelException
Occurs when anything unexpected happened while using model API related functions. Root exception, hould be sub-classed by specific exceptions.
Constructor Summary | |
---|---|
protected | ModelException()
Empty constructor |
ModelException(java.lang.Throwable cause)
Initializes the exception with the reason of the exception. |
Method Summary | |
---|---|
java.lang.String | getDescription(java.util.Locale aLocale)
Returns the description of this object in the given locale. |
ListModel | getLocales()
Returns a list model containing the locales that are supported by this object. |
java.lang.String | getTitle(java.util.Locale aLocale)
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 |
Constructor Detail |
---|
protected ModelException()
public ModelException(java.lang.Throwable cause)
Method Detail |
---|
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 getLocales()
public java.lang.String getTitle(java.util.Locale aLocale)
null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanism.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |