TranslationResult.java 609 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  javax.jcr.Node
 */
package com.adobe.cq.wcm.translation.impl;

import com.adobe.cq.wcm.translation.impl.TranslationFailure;
import java.util.ArrayList;
import java.util.List;
import javax.jcr.Node;

public class TranslationResult {
    List<TranslationFailure> failureArray = new ArrayList<TranslationFailure>();

    public void addNewFailure(Node failedNode, String strPropName, String strPropValue, Exception exp) {
        this.failureArray.add(new TranslationFailure(failedNode, strPropName, strPropValue, exp));
    }
}