========
Lab
========

----------------
Exceptions Lab
----------------

Numeric String Verifier

  * Overview

    * Create an application that converts strings to numeric values

  * Requirements

    * Create a package to define your numeric type
    * Define a primitive to convert a string to your numeric type

      * The primitive should raise your own exceptions; one for out-of-range and one for illegal string

    * Main program should run multiple tests on the primitive

-----------------------------------------
Exceptions Lab Solution - Numeric Types
-----------------------------------------

.. container:: source_include 190_exceptions/lab/exceptions/answer/numeric_types.ads :code:Ada :number-lines:1

.. container:: source_include 190_exceptions/lab/exceptions/answer/numeric_types.adb :code:Ada :number-lines:1

--------------------------------
Exceptions Lab Solution - Main
--------------------------------

.. container:: source_include 190_exceptions/lab/exceptions/answer/main.adb :code:Ada :number-lines:1
