Package org.auraframework.throwable.quickfix

Examples of org.auraframework.throwable.quickfix.QuickFixException


     * @throws AuraRuntimeException (actually a subclass of this) if there is no
     *             Quick-Fix
     * @throws Error if an error was thrown.
     */
    public static AuraRuntimeException wrapExecutionExceptionNoQFE(Throwable t, Location l) {
        QuickFixException unwrapped = wrapExecutionException(t, l);
        return new AuraUnhandledException("Unexpected exception", unwrapped);
    }
View Full Code Here


                    context.dropLoaded(descriptor);
                } else {
                    // validate the uid.
                    String uid = entry.getValue();
                    String tuid = null;
                    QuickFixException qfe = null;

                    if (uid == null) {
                        // If we are given a null, bounce out.
                        throw new ClientOutOfSyncException(descriptor + ": missing UID ");
                    }
View Full Code Here

    protected DependencyDefImpl(Builder builder) {
        super(builder);

        DescriptorFilter tmp = null;
        QuickFixException caught = null;

        this.parentDescriptor = builder.parentDescriptor;
        if (builder.resource != null) {
            try {
                tmp = new DescriptorFilter(builder.resource, builder.type);
View Full Code Here

        this.testLabels = AuraUtil.immutableSet(testLabels);
        this.browsers = AuraUtil.immutableSet(browsers);
        this.mocks = AuraUtil.immutableList(mocks);

        List<Definition> tMockDefs = null;
        QuickFixException qfe = null;
        try {
            tMockDefs = parseMocks();
        } catch (QuickFixException t) {
            qfe = t;
        }
View Full Code Here

    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
        in.defaultReadObject();

        List<Definition> tMockDefs = null;
        QuickFixException qfe = null;
        try {
            tMockDefs = parseMocks();
        } catch (QuickFixException t) {
            qfe = t;
        }
View Full Code Here

     */
    public void checkErrors() throws StyleParserException, QuickFixException {
        // check for wrapped QFEs. However if it's a DefinitionNotFound... currently throwing one of those will
        // get confused with the StyleDef itself so we have to wrap it in a runtime exception (and kill the quickfix).
        if (!wrappedExceptions.isEmpty()) {
            QuickFixException e = wrappedExceptions.get(0);
            if (e instanceof DefinitionNotFoundException) {
                throw new AuraRuntimeException(e);
            }
            throw e;
        }
View Full Code Here

TOP

Related Classes of org.auraframework.throwable.quickfix.QuickFixException

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.