Interface IInteractiveReturn
public interface IInteractiveReturn
Type encapsulating return from the Python side.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the exception details, ornull
if there was no exception.Get the result of running the code, ornull
if there is no return value.
-
Method Details
-
getException
Object getException()Return the exception details, ornull
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, ornull
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.
-