fr.inra.refcomp.services
Class AlreadyExistingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fr.inra.refcomp.services.RefcompException
              extended by fr.inra.refcomp.services.AlreadyExistingException
All Implemented Interfaces:
Serializable

public class AlreadyExistingException
extends RefcompException

Exception to be thrown when an entity already exist in database and that only one of those entities is allowed. User: couteau Date: 26 nov. 2010

See Also:
Serialized Form

Constructor Summary
AlreadyExistingException()
           
AlreadyExistingException(String message)
          Constructs a new exception with the specified detail message.
AlreadyExistingException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
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

AlreadyExistingException

public AlreadyExistingException()

AlreadyExistingException

public AlreadyExistingException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - message

AlreadyExistingException

public AlreadyExistingException(String message,
                                Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message -
cause -


Copyright © 2010-2011 Code Lutin. All Rights Reserved.