i3.dragos.exception
Class EntityAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by i3.dragos.exception.DragosException
              extended by i3.dragos.exception.EntityAlreadyExistsException
All Implemented Interfaces:
java.io.Serializable

public class EntityAlreadyExistsException
extends DragosException

An EntityAlreadyExistsException is thrown when attempting to add an entity twice.

Author:
Boris Boehlen <boehlen@cs.rwth-aachen.de>
See Also:
Serialized Form

Constructor Summary
EntityAlreadyExistsException(java.lang.String message)
          Constructs a new exception with the given message.
EntityAlreadyExistsException(java.lang.String message, java.lang.Throwable throwable)
          Constructs a new exception with the given message which is wrapped around an 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

EntityAlreadyExistsException

public EntityAlreadyExistsException(java.lang.String message)
Constructs a new exception with the given message.

Parameters:
message - A message describing the reason of the exception.

EntityAlreadyExistsException

public EntityAlreadyExistsException(java.lang.String message,
                                    java.lang.Throwable throwable)
Constructs a new exception with the given message which is wrapped around an exception.

Parameters:
message - A message describing the reason of the exception.
throwable - The exception.


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.