Skip to content

Commit

Permalink
JFinal 1.4 Release :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinal committed May 4, 2013
1 parent d378b04 commit 8ba3d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/com/jfinal/core/ActionException.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 42,7 @@ public ActionException(int errorCode, String errorView) {
throw new IllegalArgumentException("The parameter errorView can not be blank.");

this.errorCode = errorCode;
this.errorRender = RenderFactory.me().getRender(errorView);
this.errorRender = RenderFactory.me().getErrorRender(errorCode, errorView);
}

public int getErrorCode() {
Expand Down
2 changes: 1 addition & 1 deletion src/com/jfinal/core/ActionHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 58,7 @@ public final void handle(String target, HttpServletRequest request, HttpServletR
if (action == null) {
if (log.isWarnEnabled()) {
String qs = request.getQueryString();
log.warn("Action not found: " (qs == null ? target : target "?" qs));
log.warn("404 Action Not Found: " (qs == null ? target : target "?" qs));
}
renderFactory.getErrorRender(404).setContext(request, response).render();
return ;
Expand Down

0 comments on commit 8ba3d41

Please sign in to comment.