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 int
getColumnNumber()
Set the column number on which the error occurred.int
getLineNumber()
Get the line number on which the error occurred.String
getMessage()
Get the message that describes the error.String
getScriptName()
Get the name of the script in which the error occurred.void
setColumnNumber(int columnNumber)
Set the column number on which the error occurred.void
setLineNumber(int lineNumber)
Set the line number on which the error occurred.void
setMessage(String message)
Set the message that describes the error.void
setScriptName(String scriptName)
Set the name of the script in which the error occurred.String
toString()
-
-
-
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.
-
-