|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException org.apache.tika.metadata.PropertyTypeException
public final class PropertyTypeException
XMP property definition violation exception. This is thrown when
you try to set a Property
value with an incorrect type,
such as storing an Integer when the property is of type Date.
Constructor Summary | |
---|---|
PropertyTypeException(Property.PropertyType expected,
Property.PropertyType found)
|
|
PropertyTypeException(Property.ValueType expected,
Property.ValueType found)
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyTypeException(Property.PropertyType expected, Property.PropertyType found)
public PropertyTypeException(Property.ValueType expected, Property.ValueType found)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |