com.triactive.jdo.model
Class DuplicateFieldException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended bycom.triactive.jdo.model.XMLMetaDataException
                          extended bycom.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.
 
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-2007 The TJDO Project All Rights Reserved.