Package org.silverpeas.core.web.util
Class SilverpeasTransverseWebErrorUtil
- java.lang.Object
-
- org.silverpeas.core.util.error.SilverpeasTransverseErrorUtil
-
- org.silverpeas.core.web.util.SilverpeasTransverseWebErrorUtil
-
public class SilverpeasTransverseWebErrorUtil extends SilverpeasTransverseErrorUtil
Centralized treatment of web transverse exceptions.- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Constructor Description SilverpeasTransverseWebErrorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
performAppletAlertExceptionMessage(Exception exception, String language)
Retrieves an unformatted exception message if any handled from a given throwablestatic void
verifyErrorFromRequest(javax.servlet.ServletRequest request, String language)
Checks if a DataStorageQuotaException is registered in the servlet request-
Methods inherited from class org.silverpeas.core.util.error.SilverpeasTransverseErrorUtil
performExceptionMessage, stopTransverseErrorIfAny, throwTransverseErrorIfAny
-
-
-
-
Method Detail
-
verifyErrorFromRequest
public static void verifyErrorFromRequest(javax.servlet.ServletRequest request, String language) throws DataStorageQuotaException, ComponentFileFilterException
Checks if a DataStorageQuotaException is registered in the servlet request- Parameters:
request
- the http servlet requestlanguage
- the language of current user- Throws:
DataStorageQuotaException
ComponentFileFilterException
-
-