/FileExtraction/Java_unseen/InsightIM_Tok-Android/app/src/main/java/im/tox/tox4j/core/exceptions/ToxFileGetException.java
package im.tox.tox4j.core.exceptions;

import im.tox.tox4j.exceptions.ToxException;

public final class ToxFileGetException extends ToxException {
    public ToxFileGetException(Code code) {
        this(code, "");
    }

    public ToxFileGetException(Code code, String message) {
        super(code, message);
    }

    public enum Code {
        /**
         * The friendNumber passed did not designate a valid friend.
         */
        FRIEND_NOT_FOUND,
        /**
         * No file transfer with the given file number was found for the given friend.
         */
        NOT_FOUND,
        /**
         * An argument was null.
         */
        NULL,
    }
}
