pamvotis.exceptions
Class ElementExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pamvotis.exceptions.ElementExistsException
All Implemented Interfaces:
java.io.Serializable

public class ElementExistsException
extends java.lang.Exception

Handles exceptions related to addition of nodes or sources that already exist. For example, the user previously added a source with ID 2 and later on, it adds another source with the same ID.

Author:
Dimitris El. Vassis
See Also:
Serialized Form

Constructor Summary
ElementExistsException(java.lang.String msg)
          Prints a message configured by the entity thrown the 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementExistsException

public ElementExistsException(java.lang.String msg)
Prints a message configured by the entity thrown the exception.

Parameters:
msg - The message to be printed.