// 
// Decompiled by Procyon v0.6.0
// 

package com.github.luben.zstd;

import java.io.IOException;

public class ZstdIOException extends IOException
{
    private long code;
    
    public ZstdIOException(final long n) {
        this(Zstd.getErrorCode(n), Zstd.getErrorName(n));
    }
    
    public ZstdIOException(final long code, final String message) {
        super(message);
        this.code = code;
    }
    
    public long getErrorCode() {
        return this.code;
    }
}
