Package org.silverpeas.core.web.mvc.util
Class HomePageUtil
- java.lang.Object
-
- org.silverpeas.core.web.mvc.util.HomePageUtil
-
public class HomePageUtil extends Object
Class declaration- Version:
- %I%, %G%
- Author:
-
-
Constructor Summary
Constructors Constructor Description HomePageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Throwable
getExceptionToDisplay(Throwable exception)
Method declarationstatic String
getMessageFromException(Throwable toDisplayException, String language)
Method declarationstatic String
getMessagesToDisplay(Throwable exception, String language)
Method declarationstatic String
getMessageToDisplay(Throwable exception, String language)
Method declarationstatic void
traceException(Throwable exception)
Trace the exception
-
-
-
Method Detail
-
getMessageToDisplay
public static String getMessageToDisplay(Throwable exception, String language)
Method declaration- Parameters:
exception
-language
-- Returns:
-
getMessagesToDisplay
public static String getMessagesToDisplay(Throwable exception, String language)
Method declaration- Parameters:
exception
-language
-- Returns:
-
getMessageFromException
public static String getMessageFromException(Throwable toDisplayException, String language)
Method declaration- Parameters:
toDisplayException
-language
-- Returns:
-
getExceptionToDisplay
public static Throwable getExceptionToDisplay(Throwable exception)
Method declaration- Parameters:
exception
-- Returns:
-
traceException
public static void traceException(Throwable exception)
Trace the exception- Parameters:
exception
-
-
-