Examples of ViewerException


Examples of org.apache.isis.viewer.dnd.util.ViewerException

                    public void execute(final Workspace workspace, final View view, final Location at) {
                        ViewSpecification newSpec;
                        try {
                            newSpec = specification.getClass().newInstance();
                        } catch (final InstantiationException e) {
                            throw new ViewerException(e);
                        } catch (final IllegalAccessException e) {
                            throw new ViewerException(e);
                        }

                        Content content = view.getContent();
                        if (!(content instanceof FieldContent)) {
                            content = Toolkit.getContentFactory().createRootContent(content.getAdapter());
View Full Code Here

Examples of org.apache.isis.viewer.dnd.util.ViewerException

    }

    public <T extends ViewAxis> T getAxis(final Class<T> axisClass) {
        final ViewAxis viewAxis = axes.get(axisClass);
        if (viewAxis == null) {
            throw new ViewerException("No axis of type " + axisClass + " in " + this);
        }
        return (T) viewAxis;
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.util.ViewerException

                    public void execute(final Workspace workspace, final View view, final Location at) {
                        ViewSpecification newSpec;
                        try {
                            newSpec = specification.getClass().newInstance();
                        } catch (final InstantiationException e) {
                            throw new ViewerException(e);
                        } catch (final IllegalAccessException e) {
                            throw new ViewerException(e);
                        }

                        Content content = view.getContent();
                        if (!(content instanceof FieldContent)) {
                            content = Toolkit.getContentFactory().createRootContent(content.getAdapter());
View Full Code Here

Examples of org.apache.isis.viewer.dnd.util.ViewerException

    }

    public <T extends ViewAxis> T getAxis(final Class<T> axisClass) {
        final ViewAxis viewAxis = axes.get(axisClass);
        if (viewAxis == null) {
            throw new ViewerException("No axis of type " + axisClass + " in " + this);
        }
        return (T) viewAxis;
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.util.ViewerException

    }

    public <T extends ViewAxis> T getAxis(final Class<T> axisClass) {
        final ViewAxis viewAxis = axes.get(axisClass);
        if (viewAxis == null) {
            throw new ViewerException("No axis of type " + axisClass + " in " + this);
        }
        return (T) viewAxis;
    }
View Full Code Here

Examples of org.apache.isis.viewer.dnd.util.ViewerException

                    public void execute(final Workspace workspace, final View view, final Location at) {
                        ViewSpecification newSpec;
                        try {
                            newSpec = specification.getClass().newInstance();
                        } catch (final InstantiationException e) {
                            throw new ViewerException(e);
                        } catch (final IllegalAccessException e) {
                            throw new ViewerException(e);
                        }

                        Content content = view.getContent();
                        if (!(content instanceof FieldContent)) {
                            content = Toolkit.getContentFactory().createRootContent(content.getAdapter());
View Full Code Here

Examples of org.eclipse.birt.report.exception.ViewerException

        }

        if (UtilValidate.isNotEmpty(this.reportDesignName)) {
            this.reportDesignHandle = getDesignHandle( request );
            if ( this.reportDesignHandle == null )
                throw new ViewerException(
                        ResourceConstants.GENERAL_EXCEPTION_NO_REPORT_DESIGN );
            // Initialize report parameters.
            __initParameters( request );
        }
    }
View Full Code Here

Examples of org.eclipse.birt.report.exception.ViewerException

        }

        if (UtilValidate.isNotEmpty(this.reportDesignName)) {
            this.reportDesignHandle = getDesignHandle( request );
            if ( this.reportDesignHandle == null )
                throw new ViewerException(
                        ResourceConstants.GENERAL_EXCEPTION_NO_REPORT_DESIGN );
            // Initialize report parameters.
            __initParameters( request );
        }
    }
View Full Code Here

Examples of org.eclipse.birt.report.exception.ViewerException

            this.reportDesignName = ParameterAccessor.getReport( request, null );
        }

        this.reportDesignHandle = getDesignHandle( request );
        if ( this.reportDesignHandle == null )
            throw new ViewerException(
                    ResourceConstants.GENERAL_EXCEPTION_NO_REPORT_DESIGN );

        // Initialize report parameters.
        __initParameters( request );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.