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

import im.tox.tox4j.exceptions.ToxException;

public final class ToxGetSaltException extends ToxException {

    public enum Code {
        /**
         * The input data is missing the magic number (i.e. wasn't created by this
         * module, or is corrupted)
         */
        BAD_FORMAT,
        /**
         * The data or salt were null.
         */
        NULL,
    }

    public ToxGetSaltException(Code code) {
        this(code, "");
    }

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