Package ghidra.trace.model.target

# Class DuplicateKeyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ghidra.trace.model.target.DuplicateKeyException

All Implemented Interfaces:
  `Serializable`

public class DuplicateKeyException extends RuntimeException
Thrown when there are "duplicate keys" and the `TraceObject.ConflictResolution.DENY` strategy is passed

There are said to be "duplicate keys" when two value entries having the same parent and key have overlapping lifespans. Such would create the possibility of a non-uniquely-defined value for a given path, and so it is not allowed.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DuplicateKeyException(String key)`
  Notify of a given conflicting key

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DuplicateKeyException

    public DuplicateKeyException(String key)
    Notify of a given conflicting key
    Parameters:
      `key` - the key in conflict