Class EncryptionKeyIdUnknownException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fuin.ddd4j.core.EncryptionKeyIdUnknownException
All Implemented Interfaces:
Serializable, org.fuin.objects4j.common.ExceptionShortIdentifable

public final class EncryptionKeyIdUnknownException extends Exception implements org.fuin.objects4j.common.ExceptionShortIdentifable
Signals that the encryption key identifier is unknown.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final String ELEMENT_NAME
      Unique name of the element to use for XML and JSON marshalling/unmarshalling.
      See Also:
    • SHORT_ID

      public static final String SHORT_ID
      Unique short identifier of this exception.
      See Also:
  • Constructor Details

    • EncryptionKeyIdUnknownException

      public EncryptionKeyIdUnknownException(@NotEmpty @NotEmpty String keyId)
      Constructor with all data.
      Parameters:
      keyId - The key identifier that caused the problem.
  • Method Details

    • getShortId

      public final String getShortId()
      Specified by:
      getShortId in interface org.fuin.objects4j.common.ExceptionShortIdentifable
    • getKeyId

      @NotEmpty public final @NotEmpty String getKeyId()
      Returns the IV version that caused the problem.
      Returns:
      IV version.