Class VcsRootVcsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class VcsRootVcsException
    extends VcsException
    VcsException that is associated with Vcs Root, mostly used in server
    Since:
    8.0
    Author:
    Eugene Petrenko (eugene.petrenko@jetbrains.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • VcsRootVcsException

        public VcsRootVcsException​(@NotNull
                                   VcsRoot root,
                                   @NotNull
                                   java.lang.String message,
                                   @NotNull
                                   VcsException cause,
                                   @Nullable
                                   CheckoutRules checkoutRules)
        creates detailed exception
        Parameters:
        root - associated VcsRoot
        checkoutRules - which checkout rules were problematic
        message - exception details info
        cause - generic exception
        Since:
        2021.1.2
      • VcsRootVcsException

        public VcsRootVcsException​(@NotNull
                                   VcsRoot root,
                                   @NotNull
                                   java.lang.String message,
                                   @NotNull
                                   VcsException cause)
        creates detailed exception
        Parameters:
        root - associated VcsRoot
        message - exception details info
        cause - generic exception
        Since:
        8.0
      • VcsRootVcsException

        public VcsRootVcsException​(@NotNull
                                   VcsRoot root,
                                   @NotNull
                                   VcsException cause)
        creates an exception
        Parameters:
        root - associated VcsRoot
        cause - generic exception
        Since:
        8.0
    • Method Detail

      • getRoot

        @NotNull
        public VcsRoot getRoot()
        Returns vcs root caused the problem.
        Returns:
        vcs root caused the problem.
        Since:
        8.0
      • getCheckoutRules

        @Nullable
        public CheckoutRules getCheckoutRules()
        Returns:
        Relevant checkout rules which were used during the operation