kaos.kpat.policyTemplates
Class TemplateBuildingNotCompleted
java.lang.Object
java.lang.Throwable
java.lang.Exception
kaos.kpat.policyTemplates.TemplateBuildingNotCompleted
- All Implemented Interfaces:
- java.io.Serializable
public class TemplateBuildingNotCompleted
- extends java.lang.Exception
A compond exception which is thrown when a Template cannot be completed.
A list of reasons for failure can be collected.
- See Also:
- Serialized Form
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 |
TemplateBuildingNotCompleted
public TemplateBuildingNotCompleted()
TemplateBuildingNotCompleted
public TemplateBuildingNotCompleted(java.lang.String s)
addReason
public void addReason(java.lang.Object reason)
getReasons
public java.util.List getReasons()
throwIfNotCompleted
public void throwIfNotCompleted()
throws TemplateBuildingNotCompleted
- Throws:
Itself
- if there is a reason to do so.
TemplateBuildingNotCompleted