|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sap.security.api.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.
| Constructor Summary | |
UMException()
This constructor should not be used because it does not reveal any error information to the caller. |
|
UMException(java.lang.String message)
|
|
UMException(java.lang.Throwable nestedException)
Constructor for PersistenceException wrapping another exception. |
|
UMException(java.lang.Throwable nestedException,
java.lang.String message)
Constructor with nested exception and additional explanation text. |
|
| Method Summary | |
java.lang.String |
getLocalizedMessage()
Returns the message text of the exception and of all nested exceptions in concatenated form. |
java.lang.String |
getMessage()
The same as getLocalizedMessage(), but using getMessage() first and if nothing delivered from there then using getLocalizedMessage(). |
java.lang.Throwable |
getNestedException()
Return the nested exception. |
static void |
main(java.lang.String[] args)
Quick demonstration how this exception works |
void |
printStackTrace()
Print the stack trace and the stack trace of the nested exception (if present) to the error stream. |
void |
printStackTrace(java.io.PrintStream s)
Write a stack trace to a PrintStream. |
void |
printStackTrace(java.io.PrintWriter s)
Write a stack trace to a PrintWriter. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UMException(java.lang.Throwable nestedException,
java.lang.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(java.lang.Throwable nestedException)
nestedException - The wrapped exception.public UMException(java.lang.String message)
public UMException()
| Method Detail |
public java.lang.Throwable getNestedException()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - A PrintStream.public void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - A PrintWriter.public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.ThrowablegetLocalizedMessage()public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||