public final class TargetLostException extends Exception
... try { il.delete(start_ih, end_ih); } catch(TargetLostException e) { InstructionHandle[] targets = e.getTargets(); for(int i=0; i < targets.length; i++) { InstructionTargeter[] targeters = targets[i].getTargeters(); for(int j=0; j < targeters.length; j++) targeters[j].updateTarget(targets[i], new_target); } }
InstructionHandle
,
InstructionList
,
InstructionTargeter
,
Serialized FormModifier and Type | Method and Description |
---|---|
InstructionHandle[] |
getTargets() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InstructionHandle[] getTargets()
Copyright © 2017. All rights reserved.