VariantTypeException
A well-formed value was asked for a type it does not hold — longValue() on a string, or a field lookup on an array.
This is a programming error, not a data error. Use Variant.kind to branch instead of catching this.