Package com.volantis.mcs.layouts

Examples of com.volantis.mcs.layouts.LayoutException


            // Get the layout.
            if (layoutName != null) {
                RuntimeDeviceLayout deviceLayout =
                        getDeviceLayout(layoutName);
                if (deviceLayout == null) {
                    throw new LayoutException(EXCEPTION_LOCALIZER.format(
                            "no-suitable-device-layout",
                            new Object[]{layoutName,
                                         getDeviceName()}));
                }
View Full Code Here


        if (fragmentName != null) {
            fragment =
                    (Fragment) getDeviceLayout().retrieveFormat(fragmentName,
                                                                FormatType.FRAGMENT);
            if (fragment == null) {
                throw new LayoutException(EXCEPTION_LOCALIZER.format(
                        "fragment-missing", fragmentName));
            }
        }

        if (logger.isDebugEnabled()) {
View Full Code Here

                // we are looking for is contained in a fragment inside the
                // device layout format.
                fragment = (FormFragment) getCurrentFragment().retrieveFormat(
                        formFragmentName, FormatType.FORM_FRAGMENT);
                if (fragment == null) {
                    throw new LayoutException(EXCEPTION_LOCALIZER.format(
                            "form-fragment-missing", formFragmentName));
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.layouts.LayoutException

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.