com.google.gdata.util
Class VersionConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gdata.util.ServiceException
com.google.gdata.util.VersionConflictException
- All Implemented Interfaces:
- java.io.Serializable
public class VersionConflictException
- extends ServiceException
The VersionConflictException should be thrown by a service provider
when an attempt is made to modify an entry based on a stale version ID.
- See Also:
- Serialized Form
Methods inherited from class com.google.gdata.util.ServiceException |
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getResponseBody, getResponseContentType, getSendReport, getSiblings, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toString, toXmlErrorMessage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VersionConflictException
public VersionConflictException()
VersionConflictException
public VersionConflictException(IEntry currentEntry)
VersionConflictException
public VersionConflictException(IEntry currentEntry,
java.lang.Throwable cause)
VersionConflictException
public VersionConflictException(java.net.HttpURLConnection httpConn)
throws java.io.IOException
- Throws:
java.io.IOException
VersionConflictException
public VersionConflictException(ErrorDomain.ErrorCode errorCode)
VersionConflictException
public VersionConflictException(ErrorDomain.ErrorCode errorCode,
java.lang.Throwable cause)
getCurrentEntry
public IEntry getCurrentEntry()
setCurrentEntry
public void setCurrentEntry(IEntry entry)
generate
public void generate(ExtensionProfile extProfile,
XmlWriter xw)
throws java.io.IOException
- Generates XML.
- Parameters:
extProfile
- Extension profile.xw
- Output writer.
- Throws:
java.io.IOException