com.ibm.bpe.api
Class TemplateInUseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.bpe.api.ProcessException
              extended bycom.ibm.bpe.api.TemplateInUseException
All Implemented Interfaces:
java.io.Serializable

public class TemplateInUseException
extends ProcessException

Exception class for error message Api.TemplateInUse.
Thrown when: The specified template is not deleted because it is referenced (early bound) by other templates.
User action: First delete the templates that reference the template and then delete the specified template.

See Also:
Serialized Form

Constructor Summary
TemplateInUseException(java.lang.Object[] vars)
          Constructor.
TemplateInUseException(java.lang.Object[] vars, java.lang.Throwable cause)
          Constructor.
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageKey, getMessageVariables, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateInUseException

public TemplateInUseException(java.lang.Object[] vars)
Constructor.

Parameters:
vars - See TemplateInUseException(Object[], Throwable)

TemplateInUseException

public TemplateInUseException(java.lang.Object[] vars,
                              java.lang.Throwable cause)
Constructor.

Parameters:
vars - An array with 1 substitution variable for BPEA0013E: A template ''{0}'' that is still referenced cannot be deleted.
{0} is the name of a template (for example, a process template) to be deleted.
cause - The exception that was thrown.