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

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.BuildDefinitionFailureException
All Implemented Interfaces:
java.io.Serializable

public class BuildDefinitionFailureException
extends BuildException

Exception thrown when failure encountered retrieving the build definition from the server.

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

Constructor Summary
BuildDefinitionFailureException(java.lang.String teamProject, java.lang.String name, IFailure failure)
          Exception thrown when failure encountered retrieving the build definition from the server.
 
Method Summary
 IFailure getFailure()
           
 java.lang.String getName()
           
 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

BuildDefinitionFailureException

public BuildDefinitionFailureException(java.lang.String teamProject,
                                       java.lang.String name,
                                       IFailure failure)
Exception thrown when failure encountered retrieving the build definition from the server.

Parameters:
teamProject - The team project for which the build definition was being retrieved.
name - The build definition name.
failure - the failure encountered.
Method Detail

getTeamProject

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

getName

public java.lang.String getName()
Returns:
the name

getFailure

public IFailure getFailure()
Returns:
the failure


© 2015 Microsoft. All rights reserved.