com.microsoft.tfs.core.exceptions
Class TEClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.microsoft.tfs.core.exceptions.TECoreException
com.microsoft.tfs.core.exceptions.TEClientException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BuildException, CommonStructureException, IdentityManagementException, LinkingException, RegistrationException, ServerStatusException, VersionControlException, WorkItemException
public abstract class TEClientException
- extends TECoreException
TEClientException
is the base class for exceptions thrown by TEE
client classes. Clients communicate with Team Foundation Server web services,
perform high-level tasks that use these services, and manage the in-memory or
on-disk state that accompanies these actions. Clients exists for version
control, work item tracking, build services, etc.
Many exceptions thrown by client classes include error information from the
Team Foundation Server. However, TFS encodes error information differently
for different web services. A common base class for exceptions related to
clients provides a convenient place to implement shared error
decoding/formatting logic so these errors can be rethrown consistently. See
derived classes for specialized decoding logic.
This class is abstract because the concept of a generic client exception is
not very useful when each client performs almost all of its own work.
- See Also:
- Serialized Form
- Since:
- TEE-SDK-10.1
- Thread-safety:
- thread-safe
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 |
TEClientException
public TEClientException()
TEClientException
public TEClientException(java.lang.String message,
java.lang.Throwable cause)
TEClientException
public TEClientException(java.lang.String message)
TEClientException
public TEClientException(java.lang.Throwable cause)
© 2015 Microsoft. All rights reserved.