|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.tag.Throw
public final class Throw
The cfthrow tag raises a developer-specified exception that can be caught with cfcatch tag having any of the following type specifications - cfcatch type = 'custom_type', cfcatch type = 'Application' 'cfcatch' type = 'Any'
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Throw()
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
|
void |
setDetail(String detail)
set the value detail |
void |
setErrorcode(String errorcode)
set the value errorcode A custom error code that you supply. |
void |
setExtendedinfo(String extendedinfo)
set the value extendedinfo A custom error code that you supply. |
void |
setMessage(Object message)
set the value message A message that describes the exceptional event. |
void |
setMessage(String message)
Deprecated. this method should no longer be used. |
void |
setObject(Object object)
set the value object a native java exception Object, if this attribute is defined all other will be ignored. |
void |
setType(String type)
set the value type |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Throw()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagImpl
Tag.release()
public void setExtendedinfo(String extendedinfo)
extendedinfo
- value to setpublic void setType(String type)
type
- value to setpublic void setDetail(String detail)
detail
- value to setpublic void setMessage(Object message)
message
- value to setpublic void setMessage(String message)
public void setErrorcode(String errorcode)
errorcode
- value to setpublic void setObject(Object object) throws PageException
object
- object to set
PageException
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
Tag.doStartTag()
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
Tag.doEndTag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |