jetbrains.buildServer.vcs
Class UnknownVcsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jetbrains.buildServer.vcs.UnknownVcsException
All Implemented Interfaces:
java.io.Serializable

public class UnknownVcsException
extends java.lang.RuntimeException

Thrown after attempt to create vcs root for non-existing vcs.

See Also:
Serialized Form

Constructor Summary
UnknownVcsException(java.lang.String vcsName, java.lang.String message)
          Create exception instance.
UnknownVcsException(VcsRoot vcsRoot, java.lang.String message)
          Constructor
 
Method Summary
 java.lang.String getVcsName()
           
 VcsRoot getVcsRoot()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

UnknownVcsException

public UnknownVcsException(java.lang.String vcsName,
                           java.lang.String message)
Create exception instance.

Parameters:
vcsName - VCS plugin name
message - error message.

UnknownVcsException

public UnknownVcsException(VcsRoot vcsRoot,
                           java.lang.String message)
Constructor

Parameters:
vcsRoot - VCS root with reference to unknown VCS plugin
message - error message
Method Detail

getVcsName

@Nullable
public java.lang.String getVcsName()

getVcsRoot

@Nullable
public VcsRoot getVcsRoot()