railo.runtime.tag
Class Error
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.tag.Error
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.Tag
public final class Error
- extends TagImpl
Enables the display of customized HTML pages when errors occur. This lets you maintain a
consistent look and feel within your application, even when errors occur.
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Error()
|
Method Summary |
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
|
void |
setException(String exception)
set the value exception
Type of exception. |
void |
setMailto(String mailto)
set the value mailto
The e-mail address of the administrator to notify of the error. |
void |
setTemplate(String template)
set the value template
The relative path to the custom error page. |
void |
setType(String type)
set the value type
The type of error that the custom error page handles. |
Error
public Error()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class TagImpl
- See Also:
Tag.release()
setException
public void setException(String exception)
- set the value exception
Type of exception. Required if type = "exception" or "monitor".
- Parameters:
exception
- value to set
setType
public void setType(String type)
throws ExpressionException
- set the value type
The type of error that the custom error page handles.
- Parameters:
type
- value to set
- Throws:
ExpressionException
setTemplate
public void setTemplate(String template)
throws MissingIncludeException
- set the value template
The relative path to the custom error page.
- Parameters:
template
- value to set
- Throws:
MissingIncludeException
setMailto
public void setMailto(String mailto)
- set the value mailto
The e-mail address of the administrator to notify of the error. The value
is available to your custom error page in the MailTo property of the error object.
- Parameters:
mailto
- value to set
doStartTag
public int doStartTag()
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- See Also:
Tag.doStartTag()
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
- See Also:
Tag.doEndTag()
Copyright © 2012 Railo