Class RevisionNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RevisionNotFoundException
    extends VcsException
    Error which can be thrown by plugin when revision for some operation is not found. If plugin throws it during an agent-side checkout, TeamCity will add a dedicated problem to a build which can be handled in a special way on the server (e.g. build can be marked as canceled instead of failed to start).
    See Also:
    Serialized Form
    • Method Summary

      • 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

      • RevisionNotFoundException

        public RevisionNotFoundException()
      • RevisionNotFoundException

        public RevisionNotFoundException​(java.lang.String message)
      • RevisionNotFoundException

        public RevisionNotFoundException​(java.lang.String message,
                                         java.lang.Throwable cause)
      • RevisionNotFoundException

        public RevisionNotFoundException​(java.lang.Throwable cause)