| |||||||
FRAMES NO FRAMES |
<c:catch var="myException"> <%= 5 / 0 %> </c:catch> <c:if test="${myException != null}"> <log:catching exception="${myException}" /> </c:if>
Tag Information | |
Tag Class | org.apache.logging.log4j.taglib.CatchingTag |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
logger | false | true | java.lang.Object | The name or instance of the Logger to use to override the default Logger for this JSP. |
level | false | true | java.lang.Object | The name of any valid level (TRACE, DEBUG, INFO, etc.) or an actual Level instance to log this at. This value is case-insensitive and defaults to ERROR for this tag. |
exception | true | true | java.lang.Throwable | The exception that should be logged. |
Variables | ||||
No Variables Defined. |
| |||||||
FRAMES NO FRAMES |