Skip to content

CryptAda.Exceptions

Antonio edited this page May 30, 2017 · 2 revisions

Overview

This package contains declaration of all exceptions raised by CryptAda subprograms.

Exceptions

General exceptions

   CryptAda_Bad_Argument_Error            : exception;   -- Argument value is not valid.
   CryptAda_Null_Argument_Error           : exception;   -- Argument is null.
   CryptAda_Storage_Error                 : exception;   -- Error allocating storage.
   CryptAda_Bad_Operation_Error           : exception;   -- Invalid operation invocation.
   CryptAda_Index_Error                   : exception;   -- Indexed operation error.
   CryptAda_Syntax_Error                  : exception;   -- Syntax error.
   CryptAda_Overflow_Error                : exception;   -- Overflow condition.
   CryptAda_Underflow_Error               : exception;   -- Underflow condition.
   CryptAda_Division_By_Zero_Error        : exception;   -- Zero divisor.
   CryptAda_Unexpected_Error              : exception;   -- Any unexpected error condition.

List exceptions

These exceptions are raised by list operations.

   CryptAda_Item_Kind_Error               : exception;   -- Incorrect kind of item for the operation.
   CryptAda_List_Kind_Error               : exception;   -- Incorrect list kind for the operation.
   CryptAda_Named_List_Error              : exception;   -- Errors related to named lists.
   CryptAda_Unnamed_Item_Error            : exception;   -- Trying to add an unamed item to a named list.
   CryptAda_Identifier_Error              : exception;   -- Attempt to use a null identifier.
   CryptAda_Item_Not_Found_Error          : exception;   -- An item was not found in list.

Random number generation exceptions

These exceptions are specigfic of random number generation objects.

   CryptAda_Generator_Not_Started_Error   : exception;   -- Attempting to use a non-started random generator.
   CryptAda_Generator_Need_Seeding_Error  : exception;   -- Attempting to use a non-seeded random generator.

Cipher exceptions

Exceptions raised by ciphers.

   CryptAda_Uninitialized_Cipher_Error    : exception;   -- Cipher is not initialized.
   CryptAda_Invalid_Key_Error             : exception;   -- Cipher key is not valid.
   CryptAda_Invalid_Block_Length_Error    : exception;   -- Invalid block length.
Clone this wiki locally