|
||||||||||
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.security.exceptions.SecurityException
public abstract class SecurityException
Root exception class for all security related exceptions.
Constructor Summary | |
---|---|
protected |
SecurityException()
Empty constructor. |
protected |
SecurityException(com.ibm.wps.util.MessageCode aMsgCode,
java.lang.Object[] arguments)
Initializes the exception with a message code and the corresponding arguments |
protected |
SecurityException(java.lang.Throwable cause)
Initializes the exception with the reason of the exception. |
Method Summary | |
---|---|
java.lang.String |
getDescription(java.util.Locale aLocale)
Return a language-specific detailed explanation of this exception. |
ListModel<java.util.Locale> |
getLocales()
Return the languages for which language-specific exception messages and explanations are provided. |
java.lang.String |
getTitle(java.util.Locale aLocale)
Return a language-specific exception message for this exception. |
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 SecurityException(java.lang.Throwable cause)
cause
- Exception that provides details on the reason of failure (must not be null).protected SecurityException()
protected SecurityException(com.ibm.wps.util.MessageCode aMsgCode, java.lang.Object[] arguments)
aMsgCode
- the message codearguments
- the argumentsMethod Detail |
---|
public java.lang.String getTitle(java.util.Locale aLocale)
getTitle
in interface Localized
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.public java.lang.String getDescription(java.util.Locale aLocale)
getDescription
in interface Localized
aLocale
- 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()
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 |