Class VcsException

    • Constructor Detail

      • VcsException

        public VcsException()
        Default constructor.
      • VcsException

        public VcsException​(String message)
        Constructor with a description.
        Parameters:
        message - problem description.
      • VcsException

        public VcsException​(String message,
                            Throwable cause)
        Constructor with a description and cause exception.
        Parameters:
        message - problem description.
        cause - cause exception.
      • VcsException

        public VcsException​(Throwable cause)
        Constructor with cause exception.
        Parameters:
        cause - cause exception.
    • Method Detail

      • isRecoverable

        public boolean isRecoverable()
        Indicates whether this error is recoverable (if true then operation can be repeated)
        Returns:
        true if error is recoverable
      • setRecoverable

        public void setRecoverable​(boolean recoverable)
        Sets whether this error is recoverable or not (false by default).
        Parameters:
        recoverable - true if error is recoverable
      • setRoot

        @NotNull
        @Deprecated
        public VcsException setRoot​(@NotNull
                                    Object root)
        Deprecated.
        core will take care to associate vcs exception and settings
        This method is left here only for compatibility with older versions
        Parameters:
        root - deprecated
        Since:
        2.0