Class DuplicateDescriptionException

  • All Implemented Interfaces:
    Serializable

    public class DuplicateDescriptionException
    extends RuntimeException
    An exception that is used when trying to merge multiple descriptors but a duplicate is detected.
    See Also:
    Serialized Form
    • Constructor Detail

      • DuplicateDescriptionException

        public DuplicateDescriptionException​(Version version,
                                             String path)
        Construct a new exception for the given path and version.
        Parameters:
        version - The version.
        path - The path.
      • DuplicateDescriptionException

        public DuplicateDescriptionException​(Version version,
                                             String path,
                                             Throwable cause)
        Construct a new exception for the given path and version.
        Parameters:
        version - The version.
        path - The path.
        cause - The cause.
      • DuplicateDescriptionException

        public DuplicateDescriptionException​(Version version)
        Construct a new exception for the given version with an unknown path.
        Parameters:
        version - The version.