Class NullValueException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NullValueException
    extends org.datanucleus.exceptions.NucleusDataStoreException
    A NullValueException is thrown if a null value is encountered in a database column that should prohibit null values.
    Version:
    $Revision: 1.3 $
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      NullValueException()
      Constructs a null value exception with no specific detail message.
      NullValueException​(java.lang.String msg)
      Constructs a null value exception with the specified detail message.
    • 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

      • NullValueException

        public NullValueException()
        Constructs a null value exception with no specific detail message.
      • NullValueException

        public NullValueException​(java.lang.String msg)
        Constructs a null value exception with the specified detail message.
        Parameters:
        msg - the detail message