FileFormatNotSupportedException.java 1.22 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.pdfg.exception;

import com.adobe.pdfg.exception.ExceptionStackTrace;
import com.adobe.pdfg.exception.PDFGBaseException;
import com.adobe.pdfg.exception.PDFGError;
import java.io.Serializable;

public class FileFormatNotSupportedException
extends PDFGBaseException
implements Serializable {
    private static final long serialVersionUID = 6464316886773262387L;
    public final int errorCode;

    public FileFormatNotSupportedException(int errorCode) {
        super(new PDFGError(errorCode));
        this.errorCode = errorCode;
    }

    public FileFormatNotSupportedException(int errorCode, String param) {
        super(new PDFGError(errorCode, param));
        this.errorCode = errorCode;
    }

    public FileFormatNotSupportedException(int errorCode, String param, Throwable cause) {
        super(new PDFGError(errorCode, param), new ExceptionStackTrace(cause));
        this.errorCode = errorCode;
    }

    public FileFormatNotSupportedException(int errorCode, Throwable cause) {
        super(new PDFGError(errorCode, cause), new ExceptionStackTrace(cause));
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return this.errorCode;
    }
}