Package org.apache.tika.metadata
Class PropertyTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.apache.tika.metadata.PropertyTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public final class PropertyTypeException extends java.lang.IllegalArgumentException
XMP property definition violation exception. This is thrown when you try to set aProperty
value with an incorrect type, such as storing an Integer when the property is of type Date.- Since:
- Apache Tika 0.8
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyTypeException(java.lang.String msg)
PropertyTypeException(Property.PropertyType unsupportedPropertyType)
PropertyTypeException(Property.PropertyType expected, Property.PropertyType found)
PropertyTypeException(Property.ValueType expected, Property.ValueType found)
-
-
-
Constructor Detail
-
PropertyTypeException
public PropertyTypeException(java.lang.String msg)
-
PropertyTypeException
public PropertyTypeException(Property.PropertyType expected, Property.PropertyType found)
-
PropertyTypeException
public PropertyTypeException(Property.ValueType expected, Property.ValueType found)
-
PropertyTypeException
public PropertyTypeException(Property.PropertyType unsupportedPropertyType)
-
-