Class ArrayContentProblem


  • public class ArrayContentProblem
    extends ContentProblem
    Class that stores problems related to Array data objects.
    Author:
    mcayanan
    • Constructor Detail

      • ArrayContentProblem

        public ArrayContentProblem​(ExceptionType exceptionType,
                                   ProblemType problemType,
                                   String message,
                                   URL source,
                                   URL label,
                                   int array,
                                   int[] location)
        Constructor.
        Parameters:
        exceptionType - The severity level.
        problemType - The problem type.
        message - The problem message.
        source - The url of the data file associated with this message.
        label - The url of the label file.
        array - The index of the array associated with this message.
        location - The location associated with the message.
      • ArrayContentProblem

        public ArrayContentProblem​(ProblemDefinition defn,
                                   URL source,
                                   URL label,
                                   int array,
                                   int[] location)
        Constructor.
        Parameters:
        defn - The problem definition.
        source - The url of the data file associated with this message.
        label - The url of the label file.
        array - The index of the array associated with this message.
        location - The location associated with the message.
      • ArrayContentProblem

        public ArrayContentProblem​(ProblemDefinition defn,
                                   URL source)
        Constructor.
        Parameters:
        defn - The problem definition.
        source - The url of the data file associated with this message.
    • Method Detail

      • getArray

        public Integer getArray()
        Returns:
        the index of the array.
      • getLocation

        public String getLocation()
        Returns:
        the array location.