name.angoca.db2sa.core.syntax.graph.exception
Class DuplicateNodeException

Package class diagram package DuplicateNodeException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by name.angoca.db2sa.exceptions.AbstractDB2SAException
              extended by name.angoca.db2sa.core.syntax.graph.exception.InvalidGraphException
                  extended by name.angoca.db2sa.core.syntax.graph.exception.DuplicateNodeException
All Implemented Interfaces:
Serializable

public class DuplicateNodeException
extends InvalidGraphException

This exception is thrown when the grammar file has two nodes with the same id.
Control Version

Version:
1.0.0 2009-07-19
Author:
Andres Gomez Casanova (AngocA)
See Also:
Serialized Form

Constructor Summary
DuplicateNodeException(String nodeId)
          Constructor with the duplicated id.
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

DuplicateNodeException

public DuplicateNodeException(String nodeId)
Constructor with the duplicated id.

Parameters:
nodeId - Duplicated ID.
Method Detail

getMessage

public final String getMessage()
Overrides:
getMessage in class Throwable


Andres Gomez Casanova (AngocA) Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.