/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.common.mime.NoSuchPartException
 *  com.l7tech.message.MimeKnob
 *  com.l7tech.util.ExceptionUtils
 */
package com.l7tech.server;

import com.l7tech.common.mime.NoSuchPartException;
import com.l7tech.message.MimeKnob;
import com.l7tech.server.a8;
import com.l7tech.util.ExceptionUtils;
import java.io.IOException;
import java.io.InputStream;

class a9
implements a8 {
    private final MimeKnob a;

    private a9(MimeKnob mimeKnob) {
        this.a = mimeKnob;
    }

    @Override
    public InputStream getInputStream() throws IOException {
        try {
            return this.a.getEntireMessageBodyAsInputStream();
        }
        catch (NoSuchPartException noSuchPartException) {
            throw new IOException(ExceptionUtils.getMessage((Throwable)noSuchPartException), noSuchPartException);
        }
    }
}

