java.lang.Object
org.milligan.eccles.Tag
org.milligan.eccles.tags.ThrowTag
- public class ThrowTag
- extends org.milligan.eccles.Tag
Throws (or re-throws) an exception
| Methods inherited from class org.milligan.eccles.Tag |
addChildTag, doAfterChildren, doEndTag, doFinishChildren, doInitChildren, getChildren, getId, getName, getParent, getPropertiesString, hasChildren, isEmpty, isReportingTag, populateElement, populateElementPropertiesFromTag, setChildren, setId, setName, validateHasNoChildren, validateNotEmptyProperties, validateNotEmptyProperties, validateNotEmptyProperties, validateNotEmptyProperty, validateProperties, validateProperties, validateProperties, validateProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tagSpecificProperties
protected static final java.lang.String[] tagSpecificProperties
- Tag properties for output
type
private java.lang.String type
message
private java.lang.String message
_type
private java.lang.Class _type
ThrowTag
public ThrowTag()
getTagName
public java.lang.String getTagName()
- Description copied from class:
org.milligan.eccles.Tag
- Name of the tag as it appears in the config file. Used for exception & status reporting
getTagPropertiesForDisplay
public java.lang.String[] getTagPropertiesForDisplay()
- Get a list of properties to be output
setType
public void setType(java.lang.String type)
getType
public java.lang.String getType()
setMessage
public void setMessage(java.lang.String message)
getMessage
public java.lang.String getMessage()
get_type
public java.lang.Class get_type()
doStartTag
public org.milligan.eccles.EcclesReturnValue doStartTag(org.milligan.eccles.RunState state)
throws org.milligan.eccles.EcclesException
- Description copied from class:
org.milligan.eccles.Tag
- Called at the start of tag processing. Return either PROCESS_CHILDREN (to process the children) or SKIP_CHILDREN
validate
public void validate()
throws org.milligan.eccles.EcclesException
- Description copied from class:
org.milligan.eccles.Tag
- Called upon tag creation during script reading. Perform extra validation that cannot be
handled by the schema