Class CryptoException

  • All Implemented Interfaces:
    Serializable

    public class CryptoException
    extends Exception
    Exception für fachliche Fehler rund um die od-crypto Funktionalitäten.
    Author:
    matthias.drummer
    See Also:
    Serialized Form
    • Constructor Detail

      • CryptoException

        public CryptoException​(CryptoError error)
      • CryptoException

        public CryptoException​(List<CryptoError> errors)
        Erzeugt BusinessException anhand einer Liste von BusinessErrors.
        Parameters:
        errors - Liste von BusinessErrors
      • CryptoException

        public CryptoException​(NamedError errorId,
                               String... params)
        Erzeugt BusinessException anhand eines BusinessError inkl. Parameter.
        Parameters:
        errorId - the error code
        params - the list of parameters
    • Method Detail

      • containsNamedError

        public boolean containsNamedError​(NamedError namedError)
        Liefert true, wenn der NamedError innerhalb der errors vorhanden ist.
        Parameters:
        namedError - NamedError
        Returns:
        true, wenn der NamedError innerhalb der errors vorhanden ist