Class PredictiveModel.SumOfProbabilitiesNotOneException

All Implemented Interfaces:
Serializable
Enclosing class:
PredictiveModel

public static class PredictiveModel.SumOfProbabilitiesNotOneException extends PredictiveModel.PredictiveModelException
Exception thrown when the sum of probabilities is not approximately one.
See Also:
  • Constructor Details

    • SumOfProbabilitiesNotOneException

      public SumOfProbabilitiesNotOneException(String message)
      Constructs a SumOfProbabilitiesNotOneException and issues the specified message
      Parameters:
      message - a String that contains a message to be issued when the exception occurs
    • SumOfProbabilitiesNotOneException

      public SumOfProbabilitiesNotOneException(String key, Object[] arguments)
      Constructs a SumOfProbabilitiesNotOneException with the specified detail message. The error message string is in a resource bundle, ErrorMessages.
      Parameters:
      key - a String that contains the key of an error message in the resource bundle
      arguments - an Object array containing arguments used within the error message specified by the key