Class DuplicateElementException

  • All Implemented Interfaces:
    Serializable

    public class DuplicateElementException
    extends GrandException
    Exception raised when trying to create two elements with the same key in a container. For instance two nodes with the same name in one graph.
    Author:
    Christophe Labouisse
    See Also:
    Serialized Form
    • Constructor Detail

      • DuplicateElementException

        public DuplicateElementException()
        Creates a new exception.
      • DuplicateElementException

        public DuplicateElementException​(String message)
        Creates a new exception.
        Parameters:
        message - explanatory message of the exception cause.
      • DuplicateElementException

        public DuplicateElementException​(String message,
                                         Throwable cause)
        Creates a new exception.
        Parameters:
        message - explanatory message of the exception cause.
        cause - root cause.
      • DuplicateElementException

        public DuplicateElementException​(Throwable cause)
        Creates a new exception.
        Parameters:
        cause - root cause