docs: add explanation for front controller (#2929)

This commit is contained in:
Ilkka Seppälä
2024-04-21 18:38:49 +03:00
committed by GitHub
parent 596f429aa0
commit d6133e3bb0
3 changed files with 103 additions and 12 deletions
@@ -26,7 +26,7 @@ package com.iluwatar.front.controller;
/**
* The Front Controller is a presentation tier pattern. Essentially it defines a controller that
* handles all requests for a web site.
* handles all requests for a website.
*
* <p>The Front Controller pattern consolidates request handling through a single handler object (
* {@link FrontController}). This object can carry out the common the behavior such as
@@ -24,11 +24,14 @@
*/
package com.iluwatar.front.controller;
import java.io.Serial;
/**
* Custom exception type.
*/
public class ApplicationException extends RuntimeException {
@Serial
private static final long serialVersionUID = 1L;
public ApplicationException(Throwable cause) {