com.triactive.jdo.model
Class XMLMetaDataException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateFieldException

public class XMLMetaDataException
extends javax.jdo.JDOFatalException

An XMLMetaDataException is thrown if a structural or logical error is encountered in the XML metadata for a given persistence capable class.

Author:
Mike Martin
See Also:
ClassMetaData, Serialized Form

Constructor Summary
XMLMetaDataException(java.net.URL url, java.lang.String msg)
          Constructs an XML metadata exception with the specified detail message.
XMLMetaDataException(java.net.URL url, java.lang.String msg, java.lang.Exception nested)
          Constructs an XML metadata 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

XMLMetaDataException

public XMLMetaDataException(java.net.URL url,
                            java.lang.String msg)
Constructs an XML metadata exception with the specified detail message.

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

XMLMetaDataException

public XMLMetaDataException(java.net.URL url,
                            java.lang.String msg,
                            java.lang.Exception nested)
Constructs an XML metadata 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.