65666768697071727374
EventUtil.raiseSaveEvent(node); } public void handleException(Exception e) { if (e instanceof RepositoryException) { throw new JcrException((RepositoryException) e); } else { throw new BrixException(e); } }
3738394041424344
try { JcrSession session = JcrSession.Wrapper.wrap(node.getSession(), null); JcrNode wrapped = JcrNode.Wrapper.wrap(node, session); raiseSaveEvent(wrapped); } catch (RepositoryException e) { throw new JcrException(e); } }
7980818283848586878889
if (behavior != null) { behavior.handleException(e); } else { if (e instanceof RepositoryException) { throw new JcrException((RepositoryException) e); } else { throw new RuntimeException(e); } } }