org.jpox.sco.exceptions
Class NullsNotAllowedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended byorg.jpox.sco.exceptions.SCOException
                              extended byorg.jpox.sco.exceptions.NullsNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class NullsNotAllowedException
extends SCOException

A NullsNotAllowedException is thrown if an attempt is made to insert a null object into a Collection or Map that doesn't support nulls.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
NullsNotAllowedException(StateManager ownerSM, java.lang.String fieldName)
          Constructs a nulls-not-allowed exception.
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullsNotAllowedException

public NullsNotAllowedException(StateManager ownerSM,
                                java.lang.String fieldName)
Constructs a nulls-not-allowed exception.

Parameters:
ownerSM - The StateManager of the object owning the SCO field.
fieldName - The name of the SCO field.


Copyright © -2007 . All Rights Reserved.