Class SaltErrorUtils


  • public class SaltErrorUtils
    extends java.lang.Object
    Utils for deriving SaltError based on the salt text output.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.regex.Pattern FN_UNAVAILABLE  
      private static java.util.regex.Pattern MODULE_NOT_SUPPORTED  
    • Constructor Summary

      Constructors 
      Constructor Description
      SaltErrorUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<SaltError> deriveError​(java.lang.String saltOutput)
      Based on the salt text output, derive particular SaltError.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FN_UNAVAILABLE

        private static final java.util.regex.Pattern FN_UNAVAILABLE
      • MODULE_NOT_SUPPORTED

        private static final java.util.regex.Pattern MODULE_NOT_SUPPORTED
    • Constructor Detail

      • SaltErrorUtils

        public SaltErrorUtils()
    • Method Detail

      • deriveError

        public static java.util.Optional<SaltError> deriveError​(java.lang.String saltOutput)
        Based on the salt text output, derive particular SaltError.
        Parameters:
        saltOutput - salt output
        Returns:
        salt error corresponding to given string