com.microsoft.tfs.core.clients.workitem.query
Class InvalidQueryTextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.microsoft.tfs.core.exceptions.TECoreException
com.microsoft.tfs.core.exceptions.TEClientException
com.microsoft.tfs.core.clients.workitem.exceptions.WorkItemException
com.microsoft.tfs.core.clients.workitem.query.InvalidQueryTextException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidQueryTextException
- extends WorkItemException
An Exception thrown to indicate invalid query text (WIQL) was passed to a
method that required valid query text.
This exception is public (part of the work item OM).
The message of this exception will be a detailed error message indicating
what was wrong with the query text. The untouched invalid query text is
available by calling getInvalidQueryText()
.
Clients should not expect there to be a "cause" exception available from an
instance of InvalidQueryTextException
. There may be such a cause, and
such a cause if it exists should be logged in any error logs, but the OM does
not make any guarantees about the existence of type of such a cause.
- See Also:
- Serialized Form
- Since:
- TEE-SDK-10.1
Constructor Summary |
InvalidQueryTextException(java.lang.String message,
java.lang.String invalidQueryText,
java.lang.Throwable cause)
|
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 |
InvalidQueryTextException
public InvalidQueryTextException(java.lang.String message,
java.lang.String invalidQueryText,
java.lang.Throwable cause)
getInvalidQueryText
public java.lang.String getInvalidQueryText()
© 2015 Microsoft. All rights reserved.