Class XMLFaultReason


  • public class XMLFaultReason
    extends Object
    Agnostic representation of a Fault Reason/faultstring. See @XMLFault
    • Constructor Detail

      • XMLFaultReason

        public XMLFaultReason​(String text,
                              String lang)
        A Fault Reason has the reason text and language
        Parameters:
        text -
        lang -
      • XMLFaultReason

        public XMLFaultReason​(String text)
        A Fault Reason with the default language
        Parameters:
        text -
    • Method Detail

      • getLang

        public String getLang()
        Returns:
        Returns the lang.
      • getText

        public String getText()
        Returns:
        Returns the text.
      • getDefaultLang

        public static String getDefaultLang()
        Returns:
        the IS0 639 language identifier for the default locale