All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class calypso.common.DuplicateElementException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----calypso.common.DuplicateElementException

public class DuplicateElementException
extends RuntimeException
implements Serializable
A DuplicateElementException is thrown when e.g. one tries to add an element to a data structure, but it already exists there.

Author:
Petteri Koponen

Constructor Index

 o DuplicateElementException()
Constructs a default DuplicateElementException.
 o DuplicateElementException(String)
Constructs a DuplicateElementException with a specified message.

Constructors

 o DuplicateElementException
 public DuplicateElementException()
Constructs a default DuplicateElementException.

 o DuplicateElementException
 public DuplicateElementException(String message_)
Constructs a DuplicateElementException with a specified message.

Parameters:
message_ - String that explains the exeception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index