Class UnsupportedDataTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedDataTypeException
    extends org.datanucleus.exceptions.NucleusDataStoreException
    A UnsupportedDataTypeException is thrown if an attempt is made to persist an object field whose data type is not supported by the database and/or the persistence package.
    Version:
    $Revision: 1.4 $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnsupportedDataTypeException()
      Constructs an unsupported data type exception with no specific detail message.
      UnsupportedDataTypeException​(java.lang.String msg)
      Constructs an unsupported data type exception with the specified detail message.
      UnsupportedDataTypeException​(java.lang.String msg, java.lang.Exception nested)
      Constructs an unsupported data type exception with the specified detail message and nested exception.
    • Method Summary

      • Methods inherited from class org.datanucleus.exceptions.NucleusException

        getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnsupportedDataTypeException

        public UnsupportedDataTypeException()
        Constructs an unsupported data type exception with no specific detail message.
      • UnsupportedDataTypeException

        public UnsupportedDataTypeException​(java.lang.String msg)
        Constructs an unsupported data type exception with the specified detail message.
        Parameters:
        msg - the detail message
      • UnsupportedDataTypeException

        public UnsupportedDataTypeException​(java.lang.String msg,
                                            java.lang.Exception nested)
        Constructs an unsupported data type exception with the specified detail message and nested exception.
        Parameters:
        msg - the detail message
        nested - the nested exception(s).