com.sun.identity.idm
Class IdRepoUnsupportedOpException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sun.identity.idm.IdRepoException
|
+--com.sun.identity.idm.IdRepoUnsupportedOpException
- All Implemented Interfaces:
- com.sun.identity.common.L10NMessage, java.io.Serializable
- public class IdRepoUnsupportedOpException
- extends IdRepoException
The exception class whose instance is thrown if there is any error
during the operation of objects of the 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).
- See Also:
- Serialized Form
Constructor Summary |
IdRepoUnsupportedOpException(java.lang.String msg)
|
IdRepoUnsupportedOpException(java.lang.String msg,
java.lang.String errorCode)
|
IdRepoUnsupportedOpException(java.lang.String rbName,
java.lang.String errorCode,
java.lang.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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IdRepoUnsupportedOpException
public IdRepoUnsupportedOpException(java.lang.String msg)
- Parameters:
msg
- The message provided by the object which is
throwing the exception
IdRepoUnsupportedOpException
public IdRepoUnsupportedOpException(java.lang.String msg,
java.lang.String errorCode)
IdRepoUnsupportedOpException
public IdRepoUnsupportedOpException(java.lang.String rbName,
java.lang.String errorCode,
java.lang.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.
Instead this constructor provides Resource Bundle name and error code
for correctly locating the error message. The default
getMessage()
will always return English messages only. This
is in consistent with current JRE.
- Parameters:
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 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.