com.microsoft.tfs.core.clients.workitem.query
Class InvalidQueryTextException

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.workitem.exceptions.WorkItemException
                          extended by 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)
           
 
Method Summary
 java.lang.String getInvalidQueryText()
           
 
Methods inherited from class com.microsoft.tfs.core.clients.workitem.exceptions.WorkItemException
getErrorID
 
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

InvalidQueryTextException

public InvalidQueryTextException(java.lang.String message,
                                 java.lang.String invalidQueryText,
                                 java.lang.Throwable cause)
Method Detail

getInvalidQueryText

public java.lang.String getInvalidQueryText()


© 2015 Microsoft. All rights reserved.