Class Exceptions.DataHasUnknownFieldException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- com.google.cloud.bigquery.storage.v1.Exceptions.DataHasUnknownFieldException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Exceptions.JsonDataHasUnknownFieldException
- Enclosing class:
- Exceptions
public static class Exceptions.DataHasUnknownFieldException extends IllegalArgumentException
Input data object has unknown field to the schema of the SchemaAwareStreamWriter. User can either turn on IgnoreUnknownFields option on the SchemaAwareStreamWriter, or if they don't want the error to be ignored, they should recreate the SchemaAwareStreamWriter with the updated table schema.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataHasUnknownFieldException(String jsonFieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-