org.jpox.sco.exceptions
Class SCOException

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 org.jpox.sco.exceptions.SCOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IncompatibleTypeException, NullsNotAllowedException

public class SCOException
extends javax.jdo.JDOUserException

A SCOException is thrown if an invalid parameter is specified in the construction or usage of a second-class object instance.

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

Constructor Summary
SCOException(StateManager ownerSM, java.lang.String fieldName, java.lang.String message)
          Constructs an SCO parameter 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

SCOException

public SCOException(StateManager ownerSM,
                    java.lang.String fieldName,
                    java.lang.String message)
Constructs an SCO parameter exception.

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


Copyright © -2010 . All Rights Reserved.