com.triactive.jdo.model
Class DuplicateFieldException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOFatalException
com.triactive.jdo.model.XMLMetaDataException
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. |
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 |
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 messagenested
- the nested exception(s).
Copyright © 2001-2007 The TJDO Project All Rights Reserved.