Package org.forgerock.openam.scripting
Class ScriptError
- java.lang.Object
-
- org.forgerock.openam.scripting.ScriptError
-
public class ScriptError extends Object
Holds information about validation errors found in a script.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description ScriptError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnNumber()Set the column number on which the error occurred.intgetLineNumber()Get the line number on which the error occurred.StringgetMessage()Get the message that describes the error.StringgetScriptName()Get the name of the script in which the error occurred.voidsetColumnNumber(int columnNumber)Set the column number on which the error occurred.voidsetLineNumber(int lineNumber)Set the line number on which the error occurred.voidsetMessage(String message)Set the message that describes the error.voidsetScriptName(String scriptName)Set the name of the script in which the error occurred.StringtoString()
-
-
-
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.
-
-