Class CheckoutConflictException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CheckoutConflictException
    extends java.io.IOException
    Exception thrown if a conflict occurs during a merge checkout.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String[] conflicting  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckoutConflictException​(java.lang.String file)
      Construct a CheckoutConflictException for the specified file
      CheckoutConflictException​(java.lang.String[] files)
      Construct a CheckoutConflictException for the specified set of files
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String buildList​(java.lang.String[] files)  
      java.lang.String[] getConflictingFiles()
      Get the relative paths of the conflicting files
      • 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
    • Field Detail

      • conflicting

        private final java.lang.String[] conflicting
    • Constructor Detail

      • CheckoutConflictException

        public CheckoutConflictException​(java.lang.String file)
        Construct a CheckoutConflictException for the specified file
        Parameters:
        file - relative path of a file
      • CheckoutConflictException

        public CheckoutConflictException​(java.lang.String[] files)
        Construct a CheckoutConflictException for the specified set of files
        Parameters:
        files - an array of relative file paths
    • Method Detail

      • getConflictingFiles

        public java.lang.String[] getConflictingFiles()
        Get the relative paths of the conflicting files
        Returns:
        the relative paths of the conflicting files (relative to the working directory root).
        Since:
        4.4
      • buildList

        private static java.lang.String buildList​(java.lang.String[] files)