Class 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 Detail

      • I18NExceptUtils

        private I18NExceptUtils()
        Constructor. It is private so that no instances can be created.
    • 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.