Class VcsException

    • Constructor Summary

      Constructors 
      Constructor Description
      VcsException()
      Default constructor.
      VcsException​(java.lang.String message)
      Constructor with a description.
      VcsException​(java.lang.String message, java.lang.Throwable cause)
      Constructor with a description and cause exception.
      VcsException​(java.lang.Throwable cause)
      Constructor with cause exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean isRecoverable()
      Indicates whether this error is recoverable (if true then operation can be repeated)
      void setRecoverable​(boolean recoverable)
      Sets whether this error is recoverable or not (false by default).
      VcsException setRoot​(java.lang.Object root)
      Deprecated.
      core will take care to associate vcs exception and settings
      • 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
    • Constructor Detail

      • VcsException

        public VcsException()
        Default constructor.
      • VcsException

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

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

        public VcsException​(java.lang.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
                                    java.lang.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