类 ScriptCompilationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.scripting.ScriptCompilationException
所有已实现的接口:
Serializable

public class ScriptCompilationException extends cn.taketoday.core.NestedRuntimeException
Exception to be thrown on script compilation failure.
从以下版本开始:
4.0
作者:
Juergen Hoeller
另请参阅:
  • 构造器详细资料

    • ScriptCompilationException

      public ScriptCompilationException(String msg)
      Constructor for ScriptCompilationException.
      参数:
      msg - the detail message
    • 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.0
    • 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

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