public class

ContentValidationException

extends ServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.gdata.util.ServiceException
         ↳ com.google.gdata.wireformats.ContentValidationException

Class Overview

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

Summary

[Expand]
Inherited Constants
From class java.lang.Exception
From class java.lang.Throwable
Fields
protected ValidationContext vc
[Expand]
Inherited Fields
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
Public Constructors
ContentValidationException(String message, ValidationContext vc)
Public Methods
ValidationContext getContext()
ParseException toParseException()
Converts a ContentValidationException to a parse exception, with a separate exception for each parser error that was encountered.
[Expand]
Inherited Methods
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Fields

protected ValidationContext vc

Public Constructors

public ContentValidationException (String message, ValidationContext vc)

Parameters
message
vc

Public Methods

public ValidationContext getContext ()

public ParseException toParseException ()

Converts a ContentValidationException to a parse exception, with a separate exception for each parser error that was encountered.