Class ScriptReturnException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.shared.scriptinterpreter.ScriptException
org.apache.maven.shared.scriptinterpreter.ScriptReturnException
All Implemented Interfaces:
java.io.Serializable

public class ScriptReturnException
extends ScriptException
Signals an invalid value returned from script execution.
Since:
1.3
Author:
Slawomir Jaranowski
See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object getResult()
    Retrieve result returned by script.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getResult

      public java.lang.Object getResult()
      Retrieve result returned by script.
      Returns:
      script result.