1. -- 
  2. -- Uwe R. Zimmer, Australia, 2014 
  3. -- 
  4.  
  5. -- 
  6. -- Usage if the purpose is to "catch all": 
  7. -- 
  8. -- begin 
  9. --   .. 
  10. --   exception 
  11. --      when Exception_Id : others => Show_Exception (Exception_Id); 
  12. -- end; 
  13. -- 
  14.  
  15. with Ada.Exceptions; use Ada.Exceptions; 
  16.  
  17. package Exceptions is 
  18.  
  19.    procedure Show_Exception (Exception_Identifier : Exception_Occurrence; 
  20.                              Optional_Message     : String := ""); 
  21.  
  22.    function Wrap_Exception (Original_Exception : Exception_Occurrence; 
  23.                             Optional_Message   : String := "") return String; 
  24.  
  25. end Exceptions;