Google Data APIs Client Library (1.41.1)



com.google.gdata.util
Class PreconditionFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.gdata.util.ServiceException
              extended by com.google.gdata.util.PreconditionFailedException
All Implemented Interfaces:
java.io.Serializable

public class PreconditionFailedException
extends ServiceException

The PreconditionFailedException should be thrown by a service provider when an attempt is made to access content using a date-conditional GET and the resource has not been modified since the provided date.

See Also:
Serialized Form

Constructor Summary
PreconditionFailedException()
           
PreconditionFailedException(ErrorDomain.ErrorCode errorCode)
           
PreconditionFailedException(ErrorDomain.ErrorCode errorCode, java.lang.Throwable cause)
           
PreconditionFailedException(java.net.HttpURLConnection httpConn)
           
PreconditionFailedException(java.lang.String message)
           
PreconditionFailedException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.google.gdata.util.ServiceException
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeader, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getOAuthProxyResponse, getResponseBody, getResponseContentType, getSendReport, getSiblings, hasOAuthProxyResponse, initCause, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toString, toXmlErrorMessage, toXmlErrorMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreconditionFailedException

public PreconditionFailedException()

PreconditionFailedException

public PreconditionFailedException(java.lang.String message)

PreconditionFailedException

public PreconditionFailedException(java.lang.String message,
                                   java.lang.Throwable cause)

PreconditionFailedException

public PreconditionFailedException(java.net.HttpURLConnection httpConn)
                            throws java.io.IOException
Throws:
java.io.IOException

PreconditionFailedException

public PreconditionFailedException(ErrorDomain.ErrorCode errorCode)

PreconditionFailedException

public PreconditionFailedException(ErrorDomain.ErrorCode errorCode,
                                   java.lang.Throwable cause)