Package com.volantis.mcs.protocols.menu.builder

Examples of com.volantis.mcs.protocols.menu.builder.BuilderException


            try {
                elementDetails.setElementName(elementName);
                elementDetails.setId(id);
                elementDetails.setStyles(styles);
            } catch (Exception e) {
                throw new BuilderException(e);
            }
        } else {
            reportBadParent("style");
        }
    }
View Full Code Here


        if (item != null) {
            try {
                item.setShortcut(shortcut);
            } catch (Exception e) {
                throw new BuilderException(e);
            }
        } else {
            reportBadParent("shortcut");
        }
    }
View Full Code Here

        if (menuText != null) {
            try {
                menuText.setText(text);
            } catch (Exception e) {
                throw new BuilderException(e);
            }
        } else {
            reportBadParent("text");
        }
    }
View Full Code Here

        ConcreteMenu menu = getCurrentMenu();
        if (menu != null) {
            try {
                menu.setShortcutProperties(shortcutProperties);
            } catch (Exception e) {
                throw new BuilderException(e);
            }
        } else {
            throw new BuilderException(
                    exceptionLocalizer.
                    format("menu-building-shortcut-error"));
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.menu.builder.BuilderException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.