Package org.marketcetera.util.except
Class I18NExceptUtils
- java.lang.Object
-
- org.marketcetera.util.except.I18NExceptUtils
-
final class I18NExceptUtils extends Object
Utilities supporting message generation.- Since:
- 0.5.0
- Version:
- $Id: I18NExceptUtils.java 17411 2017-04-28 14:50:38Z colin $
- Author:
- tlerios@marketcetera.com
-
-
Constructor Summary
Constructors Modifier Constructor Description privateI18NExceptUtils()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static StringgetDetail(I18NThrowable t)Returns the raw message of the given internationalized throwable, possibly combined with the raw message of the throwable's underlying cause.(package private) static StringgetLocalizedDetail(I18NThrowable t)Returns the localized message of the given internationalized throwable, possibly combined with the localized message of the throwable's underlying cause.
-
-
-
Method Detail
-
getDetail
static String getDetail(I18NThrowable t)
Returns the raw message of the given internationalized throwable, possibly combined with the raw message of the throwable's underlying cause.- Parameters:
t- The throwable.- Returns:
- The message.
-
getLocalizedDetail
static String getLocalizedDetail(I18NThrowable t)
Returns the localized message of the given internationalized throwable, possibly combined with the localized message of the throwable's underlying cause.- Parameters:
t- The throwable.- Returns:
- The message.
-
-