Cumulus4j API
(1.1.1)

org.cumulus4j.store.crypto
Class UnknownCryptoManagerIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.cumulus4j.store.crypto.UnknownCryptoManagerIDException
All Implemented Interfaces:
Serializable

public class UnknownCryptoManagerIDException
extends IllegalArgumentException

Thrown by CryptoManagerRegistry.getCryptoManager(String), if there is no CryptoManager registered for the given ID.

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

Constructor Summary
UnknownCryptoManagerIDException(String cryptoManagerID)
          Create a new exception instance.
 
Method Summary
 String getCryptoManagerID()
          Get the ID for which there is no CryptoManager registered.
 
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

UnknownCryptoManagerIDException

public UnknownCryptoManagerIDException(String cryptoManagerID)
Create a new exception instance.

Parameters:
cryptoManagerID - the ID for which there is no CryptoManager registered.
Method Detail

getCryptoManagerID

public String getCryptoManagerID()
Get the ID for which there is no CryptoManager registered.

Returns:
the ID for which there is no CryptoManager registered. Might be null, if there was no cryptoManagerID specified at all.

Cumulus4j API
(1.1.1)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.