Class DuplicatePathInIncrementalInputException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.android.builder.merge.DuplicatePathInIncrementalInputException
All Implemented Interfaces:
Serializable

public class DuplicatePathInIncrementalInputException extends RuntimeException
Exception thrown when more than one file with the same relative path is found in an incremental input for a merge. For example, if an input has two directories and both have file x, then this exception is thrown.

This is different from the case where a file with the same relative path exists in different inputs. That is not an error and is handled by the merger, although some implementations of IncrementalFileMergerOutput may reject this (for example, StreamMergeAlgorithms.acceptOnlyOne().

See Also:
  • Constructor Details

    • DuplicatePathInIncrementalInputException

      public DuplicatePathInIncrementalInputException(String description)
      Creates a new exception.
      Parameters:
      description - a description of the exception