java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | com.microstrategy.utils.MSTRCheckedException | |||
↳ | com.microstrategy.web.preferences.PreferencesException |
This problems encapsulates the problems which can
occur during preference-related operations. This
includes collating a key/name-exception Map of
exceptions that occur during the validation phase
when setting multiple value (see
setValues(Map)
)
- this allows the user to rectify all the problems at once.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PreferencesException(LocalizableMessage errorMsg)
Constructor.
| |||||||||||
PreferencesException(LocalizableMessage errorMsg, Throwable e)
Constructor.
| |||||||||||
PreferencesException(int code, Object[] params, Locale locale)
This constructor is deprecated.
use other constructor instead
| |||||||||||
PreferencesException(int code, Object[] params, Throwable e, Locale locale)
This constructor is deprecated.
use other constructor instead.
| |||||||||||
PreferencesException() | |||||||||||
PreferencesException(String errorMsg) | |||||||||||
PreferencesException(int errorCode)
This constructor is deprecated.
use other constructor instead.
| |||||||||||
PreferencesException(String errorMsg, int errorCode) | |||||||||||
PreferencesException(Throwable e) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addValidationFailure(String name, Throwable e)
Marking preference as invalid
| ||||||||||
Map |
getValidationExceptions()
Collection of key/name-exception pairs of
validation exceptions.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructor.
errorMsg | The localizable error message. |
---|
Constructor.
errorMsg | The localizable error message. |
---|---|
e | The embedded error. |
This constructor is deprecated.
use other constructor instead
Constructor.
This constructor is deprecated.
use other constructor instead.
Constructor.
This constructor is deprecated.
use other constructor instead.
Constructor.
Marking preference as invalid
name | preference name |
---|---|
e | PreferencesException
|
Collection of key/name-exception pairs of validation exceptions.