Class NoSuchKeyStoreException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
se.swedenconnect.security.credential.bundle.NoSuchKeyStoreException
All Implemented Interfaces:
Serializable

public class NoSuchKeyStoreException extends RuntimeException
Exception indicating that a KeyStore was referenced with an ID that does not match any registered key store.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • NoSuchKeyStoreException

      public NoSuchKeyStoreException(@Nonnull String id, @Nullable String message)
      Constructor accepting the key store ID and a message.
      Parameters:
      id - the key store ID
      message - the message
    • NoSuchKeyStoreException

      public NoSuchKeyStoreException(@Nonnull String id, @Nullable String message, @Nullable Throwable cause)
      Constructor accepting the key store ID, a message and the cause of the error.
      Parameters:
      id - the key store ID
      message - the message
      cause - the cause of the error
  • Method Details

    • getKeyStoreId

      @Nonnull public String getKeyStoreId()
      Gets the key store ID.
      Returns:
      an ID