/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.message.XmlKnob
 *  com.l7tech.util.InvalidDocumentFormatException
 */
package com.l7tech.server.policy.assertion.xml;

import com.l7tech.message.XmlKnob;
import com.l7tech.server.policy.assertion.xml.ServerXslTransformation;
import com.l7tech.server.util.res.ResourceGetter;
import com.l7tech.server.util.res.UrlFinder;
import com.l7tech.util.InvalidDocumentFormatException;
import java.io.IOException;
import org.xml.sax.SAXException;

class k
implements UrlFinder<XmlKnob> {
    final ServerXslTransformation this$0;

    k(ServerXslTransformation serverXslTransformation) {
        this.this$0 = serverXslTransformation;
    }

    @Override
    public String findUrl(XmlKnob xmlKnob) throws ResourceGetter.InvalidMessageException {
        try {
            return this.this$0.a(xmlKnob);
        }
        catch (SAXException sAXException) {
            throw new ResourceGetter.InvalidMessageException(sAXException);
        }
        catch (InvalidDocumentFormatException invalidDocumentFormatException) {
            throw new ResourceGetter.InvalidMessageException(invalidDocumentFormatException);
        }
        catch (IOException iOException) {
            throw new ResourceGetter.InvalidMessageException(iOException);
        }
    }
}

