com.microsoft.tfs.core.exceptions
Class TECoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.microsoft.tfs.core.exceptions.TECoreException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ACSUnauthorizedException, CatalogException, CodePageMapping.UnknownCodePageException, CodePageMapping.UnknownEncodingException, ExternalToolException, FavoritesException, HTTPProxyUnauthorizedException, IllegalConfigurationException, InputValidationException, LocationException, MalformedArtifactIDException, MalformedURIException, MementoException, NotSupportedException, SecurityServiceException, TeamFoundationInvalidServerNameException, TEClientException, TFSAccessException, TFSFederatedAuthException, TFSUnauthorizedException, TFSUsernameParseException, UnknownClientException, UnknownWebServiceException
public class TECoreException
- extends java.lang.RuntimeException
TECoreException
is the unchecked base exception for all other
exception types that are:
- Defined in com.microsoft.tfs.core
and
- Thrown by methods in com.microsoft.tfs.core
Unchecked exceptions are preferred by core classes.
Classes in core try to interpret all exceptions thrown by methods in "lower"
packages (e.g. com.microsoft.tfs.core.ws) by wrapping them in other types and
adding information. This is done to minimize leakage from these lower layers
and add value where core knowledge is available. Only choice exceptions are
given this treatment; exceptions like NullPointerException
, errors
like OutOfMemoryError
, and some network connectivity exceptions are
thrown unaltered if they do not have a higher meaning in the context of the
core client that encountered them.
This class is concrete so general core exceptions can be constructed
directly, though generally an available subclass should be thrown instead.
- 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 |
TECoreException
public TECoreException()
TECoreException
public TECoreException(java.lang.String message,
java.lang.Throwable cause)
TECoreException
public TECoreException(java.lang.String message)
TECoreException
public TECoreException(java.lang.Throwable cause)
© 2015 Microsoft. All rights reserved.