Package com.powsybl.afs.ext.base
Class ScriptException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.powsybl.commons.PowsyblException
-
- com.powsybl.afs.ext.base.ScriptException
-
- All Implemented Interfaces:
Serializable
public class ScriptException extends com.powsybl.commons.PowsyblException
- Author:
- Geoffroy Jamgotchian
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptException(ProjectFile projectFile, ScriptError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptError
getError()
String
getMessage()
String
getProjectFilePath()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ScriptException
public ScriptException(ProjectFile projectFile, ScriptError error)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getProjectFilePath
public String getProjectFilePath()
-
getError
public ScriptError getError()
-
-