Interface IInteractiveReturn


public interface IInteractiveReturn
Type encapsulating return from the Python side.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the exception details, or null if there was no exception.
    Get the result of running the code, or null if there is no return value.
  • Method Details

    • getException

      Object getException()
      Return the exception details, or null if there was no exception. This method may return a fully constructed Java exception is possible, if not possible, this method returns the message for an exception.
      Returns:
      the exception details.
    • getResult

      Object getResult()
      Get the result of running the code, or null if there is no return value.
      Returns:
      the Java instance of the type, or if Python returned something that cannot be represented as a Java type, return a repr() of the value.