OopRuntimeException
Wraps whatever Throwable itself threw while being reflectively invoked on receiver -- e.g. a NullPointerException from calling a method on a null-valued field, or any other exception the invoked JVM/Kotlin code raises. On the JVM this unwraps the java.lang.reflect.InvocationTargetException reflection wraps such failures in, so cause is the original exception thrown by the invoked code, not the reflection machinery's own wrapper.
Surfaces to Prolog as a it.unibo.tuprolog.solve.exception.error.SystemError for an uncaught exception (see it.unibo.tuprolog.solve.exception.error.SystemError.forUncaughtException).
Parameters
the member whose invocation threw.
the instance callable was being invoked on, or null for a constructor, static member, or companion-object member.
the exception thrown by the invoked code.
Properties
Functions
Converts this exception into the LogicError that should actually be thrown by context's solver, while executing signature.