Class ScriptRunnerException

All Implemented Interfaces:
Serializable

public class ScriptRunnerException extends BackendException
Runtime exception thrown when the ScriptRunnerer encounters an error.
Author:
harald
See Also:
  • Constructor Details

    • ScriptRunnerException

      public ScriptRunnerException(String message, String sql, List<ScriptRunnerResult> results, Throwable cause)
      Creates a new ScriptRunnerException.
      Parameters:
      message - the detail message
      sql - the SQL code that failed
      results - the successful results collected so far
      cause - the cause
    • ScriptRunnerException

      protected ScriptRunnerException(String message, Throwable cause)
      For TRIP.
      Parameters:
      message - the detail message
      cause - the cause
  • Method Details

    • getSql

      public String getSql()
      Gets the SQL code that failed.
      Returns:
      the SQL code
    • getResults

      public List<ScriptRunnerResult> getResults()
      Gets the results collected so far.
      Returns:
      the results