|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.security.api.UMException
public class UMException
This is the superclass of all checked exceptions employed in the user management; it indicates error conditions that reasonable applications might want to catch.
| Field Summary | |
|---|---|
protected Throwable |
m_throwable
Nested exception for backwards compatibility with NW04s (federated portal) |
protected List |
mMessageBuffer
Message Buffer |
| Constructor Summary | |
|---|---|
UMException()
This constructor should not be used because it does not reveal any error information to the caller. |
|
UMException(String message)
|
|
UMException(Throwable nestedException)
Constructor for PersistenceException wrapping another exception. |
|
UMException(Throwable nestedException,
String message)
Constructor with nested exception and additional explanation text. |
|
| Method Summary | |
|---|---|
void |
addMessage(IMessage message)
Adds a message to the message buffer of this exception. |
String |
getLocalizedMessage()
Returns the message text of the exception and of all nested exceptions in concatenated form. |
String |
getMessage()
The same as getLocalizedMessage(), but using getMessage() first and if nothing delivered from there then using getLocalizedMessage(). |
Iterator |
getMessages(boolean clearPermanentMessages)
Returns an iterator which contains the IMessage objects assigned to this IPrincipal or
null if no messages are assigned. |
Throwable |
getNestedException()
Return the nested exception. |
| 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 |
| Field Detail |
|---|
protected Throwable m_throwable
protected transient List mMessageBuffer
| Constructor Detail |
|---|
public UMException(Throwable nestedException,
String message)
nestedException - The exception that is wrapped into the PersistenceException.message - A String with the message of the PersistenceException. Callers
should not repeat the message text of the nested exception becasue
its message is already printed out automatically.public UMException(Throwable nestedException)
nestedException - The wrapped exception.public UMException(String message)
public UMException()
| Method Detail |
|---|
public void addMessage(IMessage message)
message - The message to add at the end of the message buffer.public Throwable getNestedException()
public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getMessage()
getMessage in class ThrowablegetLocalizedMessage()public Iterator getMessages(boolean clearPermanentMessages)
IMessage objects assigned to this IPrincipal or
null if no messages are assigned. If the method is called with parameter true,
every subsequent call will return null if no new message was assigned to this IPrincipal.
clearPermanentMessages - Specifies whether permanent messages with life time IMessage.LIFETIME_PERMANENT should be removed from the message buffer.
IPrincipal object or null.| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] ENGINEAPI
|
[sap.com] com.sap.security.api.sda
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||