public void setPaneMode(CFPane.PaneMode value) { CFPane.PaneMode oldMode = getPaneMode(); if (oldMode == value) { return; } try { super.setPaneMode(value); ((ICFBamJavaFXServerMethodPaneCommon) attrPane).setPaneMode(value); ((ICFBamJavaFXServerMethodPaneCommon) eltTabPane).setPaneMode(value); } catch (Throwable t) { super.setPaneMode(oldMode); ((ICFBamJavaFXServerMethodPaneCommon) attrPane).setPaneMode(oldMode); ((ICFBamJavaFXServerMethodPaneCommon) eltTabPane).setPaneMode(oldMode); throw t; } }