Class GeneratorExit
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.timefold.jpyinterpreter.types.errors.PythonBaseException
ai.timefold.jpyinterpreter.types.errors.PythonException
ai.timefold.jpyinterpreter.types.errors.GeneratorExit
- All Implemented Interfaces:
PythonLikeObject,Serializable
Error thrown when a user of a generator indicates a Generator should close
- See Also:
-
Field Summary
FieldsFields inherited from class ai.timefold.jpyinterpreter.types.errors.PythonException
EXCEPTION_TYPEFields inherited from class ai.timefold.jpyinterpreter.types.errors.PythonBaseException
BASE_EXCEPTION_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorExit(PythonLikeObject value) GeneratorExit(PythonLikeType type, List<PythonLikeObject> args) -
Method Summary
Modifier and TypeMethodDescriptionThis exception acts as a signal, and should be low costMethods inherited from class ai.timefold.jpyinterpreter.types.errors.PythonBaseException
$deleteAttribute, $getArgs, $getAttributeOrNull, $getType, $setAttribute, initCauseMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.jpyinterpreter.PythonLikeObject
$getAttributeOrError, $getGenericType, $method$__delattr__, $method$__eq__, $method$__format__, $method$__format__, $method$__getattribute__, $method$__hash__, $method$__ne__, $method$__repr__, $method$__setattr__, $method$__str__
-
Field Details
-
GENERATOR_EXIT_TYPE
-
$TYPE
-
-
Constructor Details
-
GeneratorExit
public GeneratorExit() -
GeneratorExit
-
GeneratorExit
-
-
Method Details
-
fillInStackTrace
This exception acts as a signal, and should be low cost- Overrides:
fillInStackTracein classThrowable- Returns:
- this
-