Package org.apache.isis.core.commons.exceptions

Examples of org.apache.isis.core.commons.exceptions.UnexpectedCallException


        return null;
    }

    @Override
    protected T doParse(final Object original, final String entry) {
        throw new UnexpectedCallException();
    }
View Full Code Here


     * @param entry
     *            - the proposed new object, as a string representation to be
     *            parsed
     */
    protected T doParse(Object context, String entry) {
        throw new UnexpectedCallException();
    }
View Full Code Here

    }

    // TODO remove
    @Override
    protected void buildView() {
        throw new UnexpectedCallException();
    }
View Full Code Here

        final Image icon = ImageFactory.getInstance().loadIcon(specification, iconHeight, null);
        return icon;
    }

    public void parseTextEntry(final String entryText) {
        throw new UnexpectedCallException();
    }
View Full Code Here

        }
        final GlobalViewFactory factory = Toolkit.getViewFactory();
        ViewSpecification cellSpec;
        Content content;
        if (field instanceof OneToManyAssociation) {
            throw new UnexpectedCallException("no collections allowed");
        } else if (field instanceof OneToOneAssociation) {

            final ObjectSpecification fieldSpecification = field.getSpecification();
            if (fieldSpecification.isParseable()) {
                content = new TextParseableFieldImpl(object, value, (OneToOneAssociation) field);
View Full Code Here

        return Veto.DEFAULT;
    }

    @Override
    public ObjectAdapter drop(final Content sourceContent) {
        throw new UnexpectedCallException();
    }
View Full Code Here

        return getCollection();
    }

    @Override
    public ObjectSpecification getSpecification() {
        throw new UnexpectedCallException();
    }
View Full Code Here

                return "ENC" + plainText;
            }

            @Override
            public String decrypt(final String encryptedText) {
                throw new UnexpectedCallException();
            }
        };
    }
View Full Code Here

            public void init(final IsisConfiguration configuration) {
            }

            @Override
            public String encrypt(final String plainText) {
                throw new UnexpectedCallException();
            }

            @Override
            public String decrypt(final String encryptedText) {
                return encryptedText.substring(3);
View Full Code Here

     * @param entry
     *            - the proposed new object, as a string representation to be
     *            parsed
     */
    protected T doParse(Object context, String entry) {
        throw new UnexpectedCallException();
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.commons.exceptions.UnexpectedCallException

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.