handleSevere(new IntegrityException(getIntegrityChecker()));
/** * INTERNAL: * A descriptor may have been added after the session is logged in. * In this case the descriptor must be allowed to initialize any dependencies on this session. * Normally the descriptors are added before login, then initialized on login. */ public void initializeDescriptorIfSessionAlive(ClassDescriptor descriptor) { if (isConnected() && (descriptor.requiresInitialization(this))) { try { try { Collection descriptorsToAdd = new ArrayList(1); descriptorsToAdd.add(descriptor); addDescriptorsToSequencing(descriptorsToAdd); descriptor.preInitialize(this); descriptor.initialize(this); descriptor.postInitialize(this); getCommitManager().initializeCommitOrder(); } catch (RuntimeException exception) { getIntegrityChecker().handleError(exception); } if (getIntegrityChecker().hasErrors()) { //CR#4011 handleException(new IntegrityException(getIntegrityChecker())); } } finally { clearIntegrityChecker(); } } }
/** * INTERNAL: * A descriptor may have been added after the session is logged in. * In this case the descriptor must be allowed to initialize any dependencies on this session. * Normally the descriptors are added before login, then initialized on login. */ public void initializeDescriptorIfSessionAlive(ClassDescriptor descriptor) { if (isConnected() && (descriptor.requiresInitialization(this))) { try { try { Collection descriptorsToAdd = new ArrayList(1); descriptorsToAdd.add(descriptor); addDescriptorsToSequencing(descriptorsToAdd); descriptor.preInitialize(this); descriptor.initialize(this); descriptor.postInitialize(this); getCommitManager().initializeCommitOrder(); } catch (RuntimeException exception) { getIntegrityChecker().handleError(exception); } if (getIntegrityChecker().hasErrors()) { //CR#4011 handleException(new IntegrityException(getIntegrityChecker())); } } finally { clearIntegrityChecker(); } } }
handleException(new IntegrityException(getIntegrityChecker()));
handleSevere(new IntegrityException(getIntegrityChecker()));
handleSevere(new IntegrityException(getIntegrityChecker()));
/** * INTERNAL: * A descriptor may have been added after the session is logged in. * In this case the descriptor must be allowed to initialize any dependencies on this session. * Normally the descriptors are added before login, then initialized on login. */ public void initializeDescriptorIfSessionAlive(ClassDescriptor descriptor) { if (isConnected() && (descriptor.requiresInitialization())) { try { try { initializeSequencing(); descriptor.preInitialize(this); descriptor.initialize(this); descriptor.postInitialize(this); getCommitManager().initializeCommitOrder(); } catch (RuntimeException exception) { getIntegrityChecker().handleError(exception); } if (getIntegrityChecker().hasErrors()) { //CR#4011 handleException(new IntegrityException(getIntegrityChecker())); } } finally { clearIntegrityChecker(); } } }
session.handleException(new IntegrityException(session.getIntegrityChecker()));
handleSevere(new IntegrityException(getIntegrityChecker()));
handleSevere(new IntegrityException(getIntegrityChecker()));
this.session.handleException(new IntegrityException(session.getIntegrityChecker()));