com.google.gdata.wireformats
Class ContentValidationException

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.wireformats.ContentValidationException
All Implemented Interfaces:
java.io.Serializable

public class ContentValidationException
extends ServiceException

The ContentValidationException indicates that an instance document does not conform to the content model.

See Also:
Serialized Form

Constructor Summary
ContentValidationException(java.lang.String message, ValidationContext vc)
           
 
Method Summary
 ValidationContext getContext()
           
 ParseException toParseException()
          Converts a ContentValidationException to a parse exception, with a separate exception for each parser error that was encountered.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentValidationException

public ContentValidationException(java.lang.String message,
                                  ValidationContext vc)
Method Detail

getContext

public ValidationContext getContext()

toParseException

public ParseException toParseException()
Converts a ContentValidationException to a parse exception, with a separate exception for each parser error that was encountered.