Sets the isErrorPage attribute. @param value The isErrorPage value @param n The node @param err The error dispatcher @throws JasperException if the value is invalid
(String value, Node n, ErrorDispatcher err)
| 780 | * @throws JasperException if the value is invalid |
| 781 | */ |
| 782 | public void setIsErrorPage(String value, Node n, ErrorDispatcher err) throws JasperException { |
| 783 | |
| 784 | if ("true".equalsIgnoreCase(value)) { |
| 785 | isErrorPage = true; |
| 786 | } else if ("false".equalsIgnoreCase(value)) { |
| 787 | isErrorPage = false; |
| 788 | } else { |
| 789 | err.jspError(n, "jsp.error.page.invalid.iserrorpage"); |
| 790 | } |
| 791 | |
| 792 | isErrorPageValue = value; |
| 793 | } |
| 794 | |
| 795 | /** |
| 796 | * Returns the isErrorPage attribute value. |
no test coverage detected