Class OpenStegoErrors


  • public class OpenStegoErrors
    extends Object
    Custom exception class for OpenStego
    • Field Detail

      • INVALID_PASSWORD

        public static final int INVALID_PASSWORD
        Error Code - Invalid password
        See Also:
        Constant Field Values
      • INVALID_USE_COMPR_VALUE

        public static final int INVALID_USE_COMPR_VALUE
        Error Code - Invalid value for useCompression
        See Also:
        Constant Field Values
      • INVALID_USE_ENCRYPT_VALUE

        public static final int INVALID_USE_ENCRYPT_VALUE
        Error Code - Invalid value for useEncryption
        See Also:
        Constant Field Values
      • INVALID_KEY_NAME

        public static final int INVALID_KEY_NAME
        Error Code - Invalid key name
        See Also:
        Constant Field Values
      • CORRUPT_DATA

        public static final int CORRUPT_DATA
        Error Code - Corrupt Data
        See Also:
        Constant Field Values
      • NO_VALID_PLUGIN

        public static final int NO_VALID_PLUGIN
        Error Code - No valid plugin
        See Also:
        Constant Field Values
      • IMAGE_TYPE_INVALID

        public static final int IMAGE_TYPE_INVALID
        Error Code - Image type invalid
        See Also:
        Constant Field Values
      • IMAGE_FILE_INVALID

        public static final int IMAGE_FILE_INVALID
        Error Code - Image file invalid
        See Also:
        Constant Field Values
      • NO_PLUGIN_SPECIFIED

        public static final int NO_PLUGIN_SPECIFIED
        Error Code - No plugin specified
        See Also:
        Constant Field Values
      • PLUGIN_DOES_NOT_SUPPORT_WM

        public static final int PLUGIN_DOES_NOT_SUPPORT_WM
        Error Code - Plugin does not support watermarking
        See Also:
        Constant Field Values
      • PLUGIN_NOT_FOUND

        public static final int PLUGIN_NOT_FOUND
        Error Code - Plugin not found
        See Also:
        Constant Field Values
      • IMAGE_SIZE_MISMATCH

        public static final int IMAGE_SIZE_MISMATCH
        Error Code - Image sizes mismatch
        See Also:
        Constant Field Values
      • PLUGIN_DOES_NOT_SUPPORT_DH

        public static final int PLUGIN_DOES_NOT_SUPPORT_DH
        Error Code - Plugin does not support data hiding
        See Also:
        Constant Field Values
      • PWD_MANDATORY_FOR_GENSIG

        public static final int PWD_MANDATORY_FOR_GENSIG
        Error Code - Password is mandatory for 'gensig' operation
        See Also:
        Constant Field Values
      • INVALID_CRYPT_ALGO

        public static final int INVALID_CRYPT_ALGO
        Error Code - Invalid key name
        See Also:
        Constant Field Values
      • USERPREF_INVALID_INT

        public static final int USERPREF_INVALID_INT
        Error Code - Invalid integer in user preference file
        See Also:
        Constant Field Values
      • USERPREF_INVALID_FLOAT

        public static final int USERPREF_INVALID_FLOAT
        Error Code - Invalid float in user preference file
        See Also:
        Constant Field Values
      • USERPREF_INVALID_BOOL

        public static final int USERPREF_INVALID_BOOL
        Error Code - Invalid boolean in user preference file
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenStegoErrors

        public OpenStegoErrors()
    • Method Detail

      • init

        public static void init()
        Initialize the error code - message key map