public final class Throw extends TagImpl
Constructor and Description |
---|
Throw() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag() |
void |
release() |
void |
setContextlevel(double level) |
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
|
static PageException |
toPageException(Object object,
PageException defaultValue) |
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Throw()
public void release()
public void setExtendedinfo(String extendedinfo)
extendedinfo
- 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 setPageException
public void setContextlevel(double level)
public static PageException toPageException(Object object, PageException defaultValue) throws PageException
PageException
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
Copyright © 2015 Lucee