// Path: src/main/java/com/openstego/desktop/OpenStego.java
// public static final String NAMESPACE = "OpenStego";
// 
// Path: src/main/java/com/openstego/desktop/OpenStegoException.java
// public static void addErrorCode(String namespace, int errorCode, String labelKey) {
//     errMsgKeyMap.put(namespace + errorCode, labelKey);
// }


import static com.openstego.desktop.OpenStego.NAMESPACE;
import static com.openstego.desktop.OpenStegoException.addErrorCode;
/*
 * Steganography utility to hide messages into cover files
 * Author: Samir Vaidya (mailto:syvaidya@gmail.com)
 * Copyright (c) Samir Vaidya
 */

package com.openstego.desktop;


/**
 * Custom exception class for OpenStego
 */
public class OpenStegoErrors {
    /**
     * Error Code - Invalid password
     */
    public static final int INVALID_PASSWORD = 1;

    /**
     * Error Code - Invalid value for useCompression
     */
    public static final int INVALID_USE_COMPR_VALUE = 2;

    /**
     * Error Code - Invalid value for useEncryption
     */
    public static final int INVALID_USE_ENCRYPT_VALUE = 3;

    /**
     * Error Code - Invalid key name
     */
    public static final int INVALID_KEY_NAME = 4;

    /**
     * Error Code - Corrupt Data
     */
    public static final int CORRUPT_DATA = 5;

    /**
     * Error Code - No valid plugin
     */
    public static final int NO_VALID_PLUGIN = 6;

    /**
     * Error Code - Image type invalid
     */
    public static final int IMAGE_TYPE_INVALID = 7;

    /**
     * Error Code - Image file invalid
     */
    public static final int IMAGE_FILE_INVALID = 8;

    /**
     * Error Code - No plugin specified
     */
    public static final int NO_PLUGIN_SPECIFIED = 9;

    /**
     * Error Code - Plugin does not support watermarking
     */
    public static final int PLUGIN_DOES_NOT_SUPPORT_WM = 10;

    /**
     * Error Code - Plugin not found
     */
    public static final int PLUGIN_NOT_FOUND = 11;

    /**
     * Error Code - Image sizes mismatch
     */
// Path: src/main/java/com/openstego/desktop/OpenStego.java
// public static final String NAMESPACE = "OpenStego";
// 
// Path: src/main/java/com/openstego/desktop/OpenStegoException.java
// public static void addErrorCode(String namespace, int errorCode, String labelKey) {
//     errMsgKeyMap.put(namespace + errorCode, labelKey);
// }


// Path: src/main/java/com/openstego/desktop/OpenStegoErrors.java
import static com.openstego.desktop.OpenStego.NAMESPACE;
import static com.openstego.desktop.OpenStegoException.addErrorCode;

/*
 * Steganography utility to hide messages into cover files
 * Author: Samir Vaidya (mailto:syvaidya@gmail.com)
 * Copyright (c) Samir Vaidya
 */

package com.openstego.desktop;


/**
 * Custom exception class for OpenStego
 */
public class OpenStegoErrors {
    /**
     * Error Code - Invalid password
     */
    public static final int INVALID_PASSWORD = 1;

    /**
     * Error Code - Invalid value for useCompression
     */
    public static final int INVALID_USE_COMPR_VALUE = 2;

    /**
     * Error Code - Invalid value for useEncryption
     */
    public static final int INVALID_USE_ENCRYPT_VALUE = 3;

    /**
     * Error Code - Invalid key name
     */
    public static final int INVALID_KEY_NAME = 4;

    /**
     * Error Code - Corrupt Data
     */
    public static final int CORRUPT_DATA = 5;

    /**
     * Error Code - No valid plugin
     */
    public static final int NO_VALID_PLUGIN = 6;

    /**
     * Error Code - Image type invalid
     */
    public static final int IMAGE_TYPE_INVALID = 7;

    /**
     * Error Code - Image file invalid
     */
    public static final int IMAGE_FILE_INVALID = 8;

    /**
     * Error Code - No plugin specified
     */
    public static final int NO_PLUGIN_SPECIFIED = 9;

    /**
     * Error Code - Plugin does not support watermarking
     */
    public static final int PLUGIN_DOES_NOT_SUPPORT_WM = 10;

    /**
     * Error Code - Plugin not found
     */
    public static final int PLUGIN_NOT_FOUND = 11;

    /**
     * Error Code - Image sizes mismatch
     */
    public static final int IMAGE_SIZE_MISMATCH = 12;