Class DataStoreProviderException

  • All Implemented Interfaces:
    com.sun.identity.shared.locale.L10NMessage, Serializable

    @SupportedAll
    public class DataStoreProviderException
    extends com.sun.identity.shared.locale.L10NMessageImpl
    This class is to handle DataStoreProvider related exceptions.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataStoreProviderException

        public DataStoreProviderException​(String message)
        Constructs a DataStoreProviderException with a detailed message.
        Parameters:
        message - Detailed message for this exception.
      • DataStoreProviderException

        public DataStoreProviderException​(Throwable rootCause)
        Constructs a DataStoreProviderException with an embedded exception.
        Parameters:
        rootCause - An embedded exception
      • DataStoreProviderException

        public DataStoreProviderException​(Exception ex)
        Constructs a DataStoreProviderException with an exception.
        Parameters:
        ex - an exception
      • DataStoreProviderException

        public DataStoreProviderException​(String rbName,
                                          String errorCode,
                                          Object[] args)
        Constructs a new DataStoreProviderException without a nested Throwable.
        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 them as null