public class IdRepoUnsupportedOpException extends IdRepoException
com.sun.identity.sms
package. This
class maps the exception that occurred at a lower level to a high level
error. Using the exception status code getExceptionCode()
the
errors are categorized as a ABORT
, RETRY
,
CONFIG_PROBLEM
or LDAP_OP_FAILED
(typically a
bug).Constructor and Description |
---|
IdRepoUnsupportedOpException(String msg) |
IdRepoUnsupportedOpException(String msg,
String errorCode) |
IdRepoUnsupportedOpException(String rbName,
String errorCode,
Object[] args)
This constructor is used to pass the localized error message At this
level, the locale of the caller is not known and it is not possible to
throw localized error message at this level.
|
getConstraintViolationDetails, getErrorCode, getL10NMessage, getLDAPErrorCode, getLdapErrorIntCode, getMessage, getMessageArgs, getResourceBundleName, setLDAPErrorCode, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IdRepoUnsupportedOpException(String msg)
msg
- The message provided by the object which is throwing the
exceptionpublic IdRepoUnsupportedOpException(String rbName, String errorCode, Object[] args)
getMessage()
will always return
English messages only. This is in consistent with current JRE.rbName
- Resource bundle Name to be used for getting localized error
message.errorCode
- Key to resource bundle. You can use ResourceBundle rb =
ResourceBunde.getBundle(rbName,locale);
String localizedStr = rb.getString(errorCode)
.args
- arguments to message. If it is not present pass the as null.Copyright © 2010-2018, ForgeRock All Rights Reserved.