Package org.nuxeo.ecm.core.api.model
Class PropertyConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.nuxeo.ecm.core.api.NuxeoException
-
- org.nuxeo.ecm.core.api.PropertyException
-
- org.nuxeo.ecm.core.api.model.InvalidPropertyValueException
-
- org.nuxeo.ecm.core.api.model.PropertyConversionException
-
- All Implemented Interfaces:
Serializable
public class PropertyConversionException extends InvalidPropertyValueException
Exception thrown when trying to convert a property value to an incompatible type during read or write.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.api.NuxeoException
statusCode
-
-
Constructor Summary
Constructors Constructor Description PropertyConversionException()
PropertyConversionException(Class<?> fromClass, Class<?> toClass)
PropertyConversionException(Class<?> fromClass, Class<?> toClass, String message)
PropertyConversionException(String message)
PropertyConversionException(String message, Throwable cause)
PropertyConversionException(Throwable cause)
-
Method Summary
-
Methods inherited from class org.nuxeo.ecm.core.api.NuxeoException
addInfo, getInfos, getMessage, getOriginalMessage, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PropertyConversionException
public PropertyConversionException()
-
PropertyConversionException
public PropertyConversionException(String message)
-
PropertyConversionException
public PropertyConversionException(Throwable cause)
-
PropertyConversionException
public PropertyConversionException(Class<?> fromClass, Class<?> toClass)
-
-