org.datanucleus.store.exceptions
Class NullValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusDataStoreException
                      extended by org.datanucleus.store.exceptions.NullValueException
All Implemented Interfaces:
java.io.Serializable

public class NullValueException
extends 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

Constructor Summary
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, 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


Copyright © 2010. All Rights Reserved.