Class ScriptError


  • public class ScriptError
    extends Object
    Holds information about validation errors found in a script.
    Since:
    12.0.0
    • Constructor Detail

      • ScriptError

        public ScriptError()
    • Method Detail

      • getScriptName

        public String getScriptName()
        Get the name of the script in which the error occurred.
        Returns:
        the script name.
      • setScriptName

        public void setScriptName​(String scriptName)
        Set the name of the script in which the error occurred.
        Parameters:
        scriptName - the script name.
      • getMessage

        public String getMessage()
        Get the message that describes the error.
        Returns:
        the error message.
      • setMessage

        public void setMessage​(String message)
        Set the message that describes the error.
        Parameters:
        message - the error message.
      • getLineNumber

        public int getLineNumber()
        Get the line number on which the error occurred.
        Returns:
        the line number on which the error occurred.
      • setLineNumber

        public void setLineNumber​(int lineNumber)
        Set the line number on which the error occurred.
        Parameters:
        lineNumber - the line number on which the error occurred.
      • getColumnNumber

        public int getColumnNumber()
        Set the column number on which the error occurred.
        Returns:
        the line number on which the error occurred.
      • setColumnNumber

        public void setColumnNumber​(int columnNumber)
        Set the column number on which the error occurred.
        Parameters:
        columnNumber - the line number on which the error occurred.