com.microsoft.tfs.core.clients.build.exceptions
Class BuildAgentFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.microsoft.tfs.core.exceptions.TECoreException
                  extended by com.microsoft.tfs.core.exceptions.TEClientException
                      extended by com.microsoft.tfs.core.clients.build.exceptions.BuildException
                          extended by com.microsoft.tfs.core.clients.build.exceptions.BuildAgentFailureException
All Implemented Interfaces:
java.io.Serializable

public class BuildAgentFailureException
extends BuildException

Exception raised when an attempt to query build agents failed.

See Also:
Serialized Form
Since:
TEE-SDK-10.1

Constructor Summary
BuildAgentFailureException(java.lang.String teamProject, java.lang.String agentName, IFailure failure)
           
 
Method Summary
 java.lang.String getAgentName()
           
 IFailure getFailure()
           
 java.lang.String getTeamProject()
           
 
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

BuildAgentFailureException

public BuildAgentFailureException(java.lang.String teamProject,
                                  java.lang.String agentName,
                                  IFailure failure)
Method Detail

getTeamProject

public java.lang.String getTeamProject()
Returns:
the teamProject

getAgentName

public java.lang.String getAgentName()
Returns:
the agentName

getFailure

public IFailure getFailure()
Returns:
the failure


© 2015 Microsoft. All rights reserved.