com.triactive.jdo.sco
Class NullsNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOCanRetryException
                      extended by javax.jdo.JDOUserException
                          extended by com.triactive.jdo.sco.SCOException
                              extended by com.triactive.jdo.sco.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.

Author:
Mike Martin
See Also:
Set, Map, Serialized Form

Constructor Summary
NullsNotAllowedException(StateManager ownerSM, java.lang.String fieldName)
          Constructs a nulls-not-allowed exception.
 
Method Summary
 
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 ? 2001 TriActive, Inc. All Rights Reserved.