net.ggtools.grand.exceptions
Class DuplicateElementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.ggtools.grand.exceptions.GrandException
              extended by net.ggtools.grand.exceptions.DuplicateElementException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateElementException
extends GrandException

Exception raised when trying to create two elements with the same key in a container. For instance two nodes with the same name in one graph.

Author:
Christophe Labouisse
See Also:
Serialized Form

Constructor Summary
DuplicateElementException()
          Creates a new exception.
DuplicateElementException(java.lang.String message)
          Creates a new exception.
DuplicateElementException(java.lang.String message, java.lang.Throwable cause)
          Creates a new exception.
DuplicateElementException(java.lang.Throwable cause)
          Creates a new exception.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateElementException

public DuplicateElementException()
Creates a new exception.


DuplicateElementException

public DuplicateElementException(java.lang.String message)
Creates a new exception.

Parameters:
message - explainatory message of the exception cause.

DuplicateElementException

public DuplicateElementException(java.lang.String message,
                                 java.lang.Throwable cause)
Creates a new exception.

Parameters:
message - explainatory message of the exception cause.
cause - root cause.

DuplicateElementException

public DuplicateElementException(java.lang.Throwable cause)
Creates a new exception.

Parameters:
cause - root cause


Copyright © 2004-2005 ggTools. All Rights Reserved.