@@ -98,10 +98,11 @@ public ErrorWindow(final Throwable cause, final ErrorWindowI18n i18n) {
98
98
}
99
99
100
100
/**
101
- * Constructs and initializes an ErrorWindow object with the supplied details and default and default production mode and i18n.
101
+ * Constructs and initializes an ErrorWindow object with the supplied details and default
102
+ * production mode and i18n.
102
103
*
103
104
* @param cause The cause of the error
104
- * @param errorMessage An optional error message
105
+ * @param errorMessage An optional error message that is displayed when production mode is false
105
106
*
106
107
* @deprecated The error message specified with this constructor is only displayed when production
107
108
* mode is false. Use {@link #ErrorWindow(Throwable, ErrorWindowI18n)} for specifying
@@ -113,10 +114,11 @@ public ErrorWindow(final Throwable cause, final String errorMessage) {
113
114
}
114
115
115
116
/**
116
- * Constructs and initializes an ErrorWindow object with the supplied details and default production mode.
117
+ * Constructs and initializes an ErrorWindow object with the supplied details and default
118
+ * production mode.
117
119
*
118
120
* @param cause The cause of the error
119
- * @param errorMessage An optional error message
121
+ * @param errorMessage An optional error message that is displayed when production mode is false
120
122
* @param i18n The internationalization of the ErrorWindow
121
123
*/
122
124
public ErrorWindow (final Throwable cause , final String errorMessage , final ErrorWindowI18n i18n ) {
@@ -127,7 +129,7 @@ public ErrorWindow(final Throwable cause, final String errorMessage, final Error
127
129
* Constructs and initializes an ErrorWindow object with the supplied details and default i18n.
128
130
*
129
131
* @param cause The cause of the error
130
- * @param errorMessage An optional error message
132
+ * @param errorMessage An optional error message that is displayed when production mode is false
131
133
* @param productionMode The mode in which the Application is running. If true, a code is
132
134
* displayed with error details, else debug information is shown
133
135
*/
@@ -139,7 +141,7 @@ public ErrorWindow(final Throwable cause, final String errorMessage, boolean pro
139
141
* Constructs and initializes an ErrorWindow object with the supplied details.
140
142
*
141
143
* @param cause The cause of the error
142
- * @param errorMessage An optional error message
144
+ * @param errorMessage An optional error message that is displayed when production mode is false
143
145
* @param productionMode The mode in which the Application is running. If true, a code is
144
146
* displayed with error details, else debug information is shown
145
147
* @param i18n The internationalization of the ErrorWindow
0 commit comments