Decision Center API

ilog.rules.teamserver.model
Class IlrCannotDeleteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ilog.rules.teamserver.model.IlrApplicationException
              extended by ilog.rules.teamserver.model.IlrCannotDeleteException
All Implemented Interfaces:
Serializable

public class IlrCannotDeleteException
extends IlrApplicationException

Thrown when one try to delete an element that is still referenced by other elements.

This may happen when trying to delete a folder containing subfolders, or a template that is still referenced by a rule, etc.

See Also:
IlrSession.deleteElement(IlrElementHandle), Serialized Form

Constructor Summary
  IlrCannotDeleteException(IlrElementDetails details)
           
  IlrCannotDeleteException(IlrElementDetails details, List dependencies)
           
protected IlrCannotDeleteException(String errorMessage)
           
  IlrCannotDeleteException(String typeFQN, Integer id)
           
 
Method Summary
 List getDependencies()
           
 IlrElementDetails getElementDetails()
           
 
Methods inherited from class ilog.rules.teamserver.model.IlrApplicationException
getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

IlrCannotDeleteException

public IlrCannotDeleteException(IlrElementDetails details)

IlrCannotDeleteException

public IlrCannotDeleteException(IlrElementDetails details,
                                List dependencies)

IlrCannotDeleteException

public IlrCannotDeleteException(String typeFQN,
                                Integer id)

IlrCannotDeleteException

protected IlrCannotDeleteException(String errorMessage)
Method Detail

getElementDetails

public IlrElementDetails getElementDetails()

getDependencies

public List getDependencies()

Decision Center API

© Copyright IBM Corp. 1987, 2013