org.squashtest.csp.tm.domain
Class NotDeletableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.squashtest.csp.tm.domain.ActionException
                  extended by org.squashtest.csp.tm.domain.NotDeletableException
All Implemented Interfaces:
Serializable, Internationalizable

public class NotDeletableException
extends ActionException

Thrown when trying to delete a TestCase that is called by another TestCase.

Author:
Gregory Fouquet
See Also:
Serialized Form

Constructor Summary
NotDeletableException(long testCaseId)
           
 
Method Summary
 String getI18nKey()
           
 long getTestCaseId()
           
 
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

NotDeletableException

public NotDeletableException(long testCaseId)
Method Detail

getTestCaseId

public long getTestCaseId()

getI18nKey

public String getI18nKey()
Specified by:
getI18nKey in interface Internationalizable
Overrides:
getI18nKey in class ActionException
Returns:
the non null key used to get this object's i18n'd message.


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.