if (handle instanceof FactHandle) {
try {
return this.getWorkingMemory().getObject((FactHandle) handle);
} catch (NoSuchFactObjectException e) {
throw new InvalidHandleException("invalid handle", e);
}
} else {
throw new InvalidHandleException("invalid handle");
}
}