org.odmg
Class ObjectNameNotUniqueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.odmg.ODMGException
              extended by org.odmg.ObjectNameNotUniqueException
All Implemented Interfaces:
java.io.Serializable

public class ObjectNameNotUniqueException
extends ODMGException

This exception is thrown when attempting to bind a name to an object when the name is already bound to another object.

Version:
ODMG 3.0
Author:
David Jordan (as Java Editor of the Object Data Management Group)
See Also:
Database.bind(java.lang.Object, java.lang.String), Serialized Form

Constructor Summary
ObjectNameNotUniqueException()
          Construct an instance of the exception.
ObjectNameNotUniqueException(java.lang.String msg)
          Construct an instance of the exception with a descriptive message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNameNotUniqueException

public ObjectNameNotUniqueException()
Construct an instance of the exception.


ObjectNameNotUniqueException

public ObjectNameNotUniqueException(java.lang.String msg)
Construct an instance of the exception with a descriptive message.

Parameters:
msg - A message containing a description of the exception.


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30