* @throws IOException
* if the writing failed due to input/output error.
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected void criticalNotification(VaadinServletRequest request,
* the resource path.
* @return the resource path.
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected static String getResourcePath(ServletContext servletContext,
} else {
if (errorHandler != null) {
errorHandler.error(new ErrorEvent(e));
- } else {
- // Re-throw other exceptions
- throw new ServletException(e);
}
+
+ // Re-throw other exceptions
+ throw new ServletException(e);
}
}
* @param themeName
* @return
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected static String stripSpecialChars(String themeName) {
* @throws IOException
* @throws ServletException
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
void handleServiceSessionExpired(VaadinServletRequest request,
*
* @since 6.6.7
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected boolean isAllowedVAADINResourceUrl(HttpServletRequest request,
* @author Vaadin Ltd
* @since 7.0.0
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected enum RequestType {
* @param request
* @return
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected RequestType getRequestType(VaadinServletRequest request) {
* if the application is denied access to the persistent data
* store represented by the given URL.
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected URL getApplicationUrl(HttpServletRequest request)
* @param unsafe
* @return a safe string to be added inside an html tag
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
public static final String safeEscapeForHtml(String unsafe) {