com.triactive.jdo.model
Class DuplicateFieldException

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.JDOFatalException
                      extended by com.triactive.jdo.model.XMLMetaDataException
                          extended by com.triactive.jdo.model.DuplicateFieldException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateFieldException
extends XMLMetaDataException

A DuplicateFieldException is thrown if more than one definition for the same field name is encountered in the XML metadata for a given persistence capable class.

Author:
Mike Martin
See Also:
ClassMetaData, Serialized Form

Constructor Summary
DuplicateFieldException(java.net.URL url, java.lang.String msg)
          Constructs a duplicate field exception with the specified detail message.
DuplicateFieldException(java.net.URL url, java.lang.String msg, java.lang.Exception nested)
          Constructs a duplicate field exception with the specified detail message and nested 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

DuplicateFieldException

public DuplicateFieldException(java.net.URL url,
                               java.lang.String msg)
Constructs a duplicate field exception with the specified detail message.

Parameters:
url - the URL of the resource containing the errant XML metadata.
msg - the detail message

DuplicateFieldException

public DuplicateFieldException(java.net.URL url,
                               java.lang.String msg,
                               java.lang.Exception nested)
Constructs a duplicate field exception with the specified detail message and nested exception.

Parameters:
url - the URL of the resource containing the errant XML metadata.
msg - the detail message
nested - the nested exception(s).


Copyright ? 2001 TriActive, Inc. All Rights Reserved.