|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.user.UserInitializationException
public class UserInitializationException
This class encapsulates an exception that occurs during UserContext initialization, but may still leave the UserContext in a usable state. There may actually be more than one exception that can occur during the initialization, and this aggregates them and provides access to them so the application can decide whether to continue or not.
Constructor Summary | |
---|---|
UserInitializationException()
Constructs a default exception to indicate that the User Service failed to configure. |
|
UserInitializationException(UserContextInterface user)
Create a new UserInitializationException with the UserContext that was being created. |
Method Summary | |
---|---|
void |
addException(java.lang.Exception exception)
Add an exception to the collection. |
java.lang.Exception[] |
getExceptions()
Get the exceptions that occurred during initialization of the UserContext. |
java.lang.String |
getMessage()
Gets a message detailing why the User Service failed to configure. |
java.lang.Throwable |
getRootException()
Gets the root cause of the exception preventing the initialization of the User Service. |
UserContextInterface |
getUser()
Get the UserContext that was being initialized when the problems happened. |
Constructor Detail |
---|
public UserInitializationException()
public UserInitializationException(UserContextInterface user)
user
- User context.Method Detail |
---|
public java.lang.Throwable getRootException()
getRootException
in class com.sas.util.ChainedException
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void addException(java.lang.Exception exception)
exception
- A new exception to add to the list of
things that went wrong during initialization.public java.lang.Exception[] getExceptions()
public UserContextInterface getUser()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |