001    package org.cumulus4j.keymanager.api;
002    
003    import org.cumulus4j.keystore.KeyStore;
004    
005    /**
006     * <p>
007     * Thrown, if an {@link KeyStore#isEmpty() empty} <code>KeyStore</code> is expected, but the key-store is
008     * not empty. For example, some key-store-initialisations can only be done, if the key-store is empty (i.e. new).
009     * </p><p>
010     * This is a wrapper for {@link org.cumulus4j.keystore.KeyStoreNotEmptyException}.
011     * </p>
012     *
013     * @author Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
014     */
015    public class KeyStoreNotEmptyException extends KeyManagerException
016    {
017            private static final long serialVersionUID = 1L;
018    
019            public KeyStoreNotEmptyException() { }
020    
021            public KeyStoreNotEmptyException(String message, Throwable cause) {
022                    super(message, cause);
023            }
024    
025            public KeyStoreNotEmptyException(String message) {
026                    super(message);
027            }
028    
029            public KeyStoreNotEmptyException(Throwable cause) {
030                    super(cause);
031            }
032    }