|
||||||||||
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 java.io.IOException com.ibm.portal.resolver.exceptions.LocalizedIOException com.ibm.portal.resolver.exceptions.MessageCodeIOException
public abstract class MessageCodeIOException
IOException
wrapped into a SAXException
Field Summary | |
---|---|
protected static java.lang.Object[] |
EMPTY_PARAMETERS
the empty set of parameters, can be used for messages without params |
Fields inherited from class com.ibm.portal.resolver.exceptions.LocalizedIOException |
---|
SC_DEFAULT |
Fields inherited from interface com.ibm.portal.resolver.exceptions.Constants |
---|
SC_BAD_REQUEST, SC_GONE, SC_INTERNAL_SERVER_ERROR, SC_NOT_FOUND, SC_REQUEST_TIMEOUT, SC_SERVICE_UNAVAILABLE, SC_UNAUTHORIZED |
Constructor Summary | |
---|---|
protected |
MessageCodeIOException()
|
protected |
MessageCodeIOException(java.lang.Throwable aCause)
Initialize the exception |
Method Summary | |
---|---|
ListModel<java.util.Locale> |
getLocales()
Returns a list model containing the locales that are supported by this object. |
java.lang.String |
getLocalizedMessage()
|
protected abstract com.ibm.wps.util.MessageCode |
getMessageCode()
Returns the message code used to format the exception |
protected abstract java.lang.Object[] |
getMessageParameters(java.util.Locale aLocale)
Returns the parameters used for formatting |
java.lang.String |
getTitle(java.util.Locale aLocale)
Returns the title of this object in the given locale. |
Methods inherited from class com.ibm.portal.resolver.exceptions.LocalizedIOException |
---|
getCause, getDelegate, getDescription, getMessage, getStatus |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 static final java.lang.Object[] EMPTY_PARAMETERS
Constructor Detail |
---|
protected MessageCodeIOException()
protected MessageCodeIOException(java.lang.Throwable aCause)
aCause
- the root causeMethod Detail |
---|
public ListModel<java.util.Locale> getLocales()
Localized
getLocales
in interface Localized
getLocales
in class LocalizedIOException
ListModel
if no locales are supported.public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class LocalizedIOException
protected abstract com.ibm.wps.util.MessageCode getMessageCode()
null
protected abstract java.lang.Object[] getMessageParameters(java.util.Locale aLocale)
aLocale
- locale used for formatting
null
public java.lang.String getTitle(java.util.Locale aLocale)
Localized
getTitle
in interface Localized
getTitle
in class LocalizedIOException
aLocale
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |