Skip to content

Commit

Permalink
docs: fix Javadoc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-godoy authored and paodb committed Nov 20, 2024
1 parent fe0fd59 commit 4789039
Showing 1 changed file with 19 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class ErrorWindow extends Dialog {
/**
* Constructs and initializes an ErrorWindow object with the supplied cause and default production mode and i18n.
*
* @param cause: The cause of the error
* @param cause The cause of the error
*/
public ErrorWindow(final Throwable cause) {
this(cause, null, isProductionMode(), ErrorWindowI18n.createDefault());
Expand All @@ -90,8 +90,8 @@ public ErrorWindow(final Throwable cause) {
/**
* Constructs and initializes an ErrorWindow object with the supplied details and and default production mode.
*
* @param cause: The cause of the error
* @param i18n: The internationalization of the ErrorWindow
* @param cause The cause of the error
* @param i18n The internationalization of the ErrorWindow
*/
public ErrorWindow(final Throwable cause, final ErrorWindowI18n i18n) {
this(cause, null, isProductionMode(), i18n);
Expand All @@ -100,8 +100,8 @@ public ErrorWindow(final Throwable cause, final ErrorWindowI18n i18n) {
/**
* Constructs and initializes an ErrorWindow object with the supplied details and default and default production mode and i18n.
*
* @param cause: The cause of the error
* @param errorMessage: An optional error message
* @param cause The cause of the error
* @param errorMessage An optional error message
*/
public ErrorWindow(final Throwable cause, final String errorMessage) {
this(cause, errorMessage, isProductionMode(), ErrorWindowI18n.createDefault());
Expand All @@ -110,9 +110,9 @@ public ErrorWindow(final Throwable cause, final String errorMessage) {
/**
* Constructs and initializes an ErrorWindow object with the supplied details and default production mode.
*
* @param cause: The cause of the error
* @param errorMessage: An optional error message
* @param i18n: The internationalization of the ErrorWindow
* @param cause The cause of the error
* @param errorMessage An optional error message
* @param i18n The internationalization of the ErrorWindow
*/
public ErrorWindow(final Throwable cause, final String errorMessage, final ErrorWindowI18n i18n) {
this(cause, errorMessage, isProductionMode(), i18n);
Expand All @@ -121,9 +121,10 @@ public ErrorWindow(final Throwable cause, final String errorMessage, final Error
/**
* Constructs and initializes an ErrorWindow object with the supplied details and default i18n.
*
* @param cause: The cause of the error
* @param errorMessage: An optional error message
* @param productionMode: The mode in which the Application is running. If true, a code is displayed with error details, else debug information is shown
* @param cause The cause of the error
* @param errorMessage An optional error message
* @param productionMode The mode in which the Application is running. If true, a code is
* displayed with error details, else debug information is shown
*/
public ErrorWindow(final Throwable cause, final String errorMessage, boolean productionMode) {
this(cause, errorMessage, productionMode, ErrorWindowI18n.createDefault());
Expand All @@ -132,10 +133,11 @@ public ErrorWindow(final Throwable cause, final String errorMessage, boolean pro
/**
* Constructs and initializes an ErrorWindow object with the supplied details.
*
* @param cause: The cause of the error
* @param errorMessage: An optional error message
* @param productionMode: The mode in which the Application is running. If true, a code is displayed with error details, else debug information is shown
* @param i18n: The internationalization of the ErrorWindow
* @param cause The cause of the error
* @param errorMessage An optional error message
* @param productionMode The mode in which the Application is running. If true, a code is
* displayed with error details, else debug information is shown
* @param i18n The internationalization of the ErrorWindow
*/
public ErrorWindow(
final Throwable cause,
Expand Down Expand Up @@ -179,8 +181,8 @@ public ErrorWindow(ErrorDetails errorDetails, boolean productionMode) {
* Constructs and initializes an ErrorWindow object with the supplied error details and internationalization.
* This constructor allows for provision of additional information, which is an ErrorDetails object.
*
* @param errorDetails: The ErrorDetails object
* @param i18n: The internationalization of the ErrorWindow
* @param errorDetails The ErrorDetails object
* @param i18n The internationalization of the ErrorWindow
*/
public ErrorWindow(ErrorDetails errorDetails, final ErrorWindowI18n i18n) {
this(errorDetails.getThrowable(), errorDetails.getCause(), i18n);
Expand Down

0 comments on commit 4789039

Please sign in to comment.