类 ScriptCompilationException

    • 构造器详细资料

      • ScriptCompilationException

        public ScriptCompilationException​(String msg,
                                          Throwable cause)
        Constructor for ScriptCompilationException.
        参数:
        msg - the detail message
        cause - the root cause (usually from using an underlying script compiler API)
      • ScriptCompilationException

        public ScriptCompilationException​(ScriptSource scriptSource,
                                          String msg)
        Constructor for ScriptCompilationException.
        参数:
        scriptSource - the source for the offending script
        msg - the detail message
        从以下版本开始:
        4.2
      • ScriptCompilationException

        public ScriptCompilationException​(ScriptSource scriptSource,
                                          Throwable cause)
        Constructor for ScriptCompilationException.
        参数:
        scriptSource - the source for the offending script
        cause - the root cause (usually from using an underlying script compiler API)
      • ScriptCompilationException

        public ScriptCompilationException​(ScriptSource scriptSource,
                                          String msg,
                                          Throwable cause)
        Constructor for ScriptCompilationException.
        参数:
        scriptSource - the source for the offending script
        msg - the detail message
        cause - the root cause (usually from using an underlying script compiler API)
    • 方法详细资料

      • getScriptSource

        public ScriptSource getScriptSource()
        Return the source for the offending script.
        返回:
        the source, or null if not available