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:
- Serializable
 
 public final class PropertyTypeException extends IllegalArgumentException XMP property definition violation exception. This is thrown when you try to set aPropertyvalue 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 SummaryConstructors Constructor Description PropertyTypeException(String msg)PropertyTypeException(Property.PropertyType unsupportedPropertyType)PropertyTypeException(Property.PropertyType expected, Property.PropertyType found)PropertyTypeException(Property.ValueType expected, Property.ValueType found)
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
PropertyTypeExceptionpublic PropertyTypeException(String msg) 
 - 
PropertyTypeExceptionpublic PropertyTypeException(Property.PropertyType expected, Property.PropertyType found) 
 - 
PropertyTypeExceptionpublic PropertyTypeException(Property.ValueType expected, Property.ValueType found) 
 - 
PropertyTypeExceptionpublic PropertyTypeException(Property.PropertyType unsupportedPropertyType) 
 
- 
 
-