Cumulus4j API
(1.2.0)

org.cumulus4j.keystore
Class CannotDeleteLastUserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by org.cumulus4j.keystore.KeyStoreException
                  extended by org.cumulus4j.keystore.CannotDeleteLastUserException
All Implemented Interfaces:
Serializable

public class CannotDeleteLastUserException
extends KeyStoreException

Thrown by KeyStore.deleteUser(String, char[], String), if an attempt is made to delete the last user. Deleting the last user would cause all data in the KeyStore to be lost, hence this operation is not permitted.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
See Also:
Serialized Form

Constructor Summary
CannotDeleteLastUserException()
           
CannotDeleteLastUserException(String message)
           
CannotDeleteLastUserException(String message, Throwable cause)
           
CannotDeleteLastUserException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotDeleteLastUserException

public CannotDeleteLastUserException()

CannotDeleteLastUserException

public CannotDeleteLastUserException(String message)

CannotDeleteLastUserException

public CannotDeleteLastUserException(Throwable cause)

CannotDeleteLastUserException

public CannotDeleteLastUserException(String message,
                                     Throwable cause)

Cumulus4j API
(1.2.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.