Class DpmErrorInfo


  • public final class DpmErrorInfo
    extends Object
    DPM workload-specific error information.
    • Constructor Detail

      • DpmErrorInfo

        public DpmErrorInfo()
    • Method Detail

      • errorString

        public String errorString()
        Get the errorString property: Localized error string.
        Returns:
        the errorString value.
      • withErrorString

        public DpmErrorInfo withErrorString​(String errorString)
        Set the errorString property: Localized error string.
        Parameters:
        errorString - the errorString value to set.
        Returns:
        the DpmErrorInfo object itself.
      • recommendations

        public List<String> recommendations()
        Get the recommendations property: List of localized recommendations for above error code.
        Returns:
        the recommendations value.
      • withRecommendations

        public DpmErrorInfo withRecommendations​(List<String> recommendations)
        Set the recommendations property: List of localized recommendations for above error code.
        Parameters:
        recommendations - the recommendations value to set.
        Returns:
        the DpmErrorInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.