DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦7dec98c33⟧ TextFile

    Length: 1915 (0x77b)
    Types: TextFile
    Names: »V«

Derivation

└─⟦db1c56801⟧ Bits:30000748 8mm tape, Rational 1000, TESTMATE 2_2_0
    └─ ⟦866d14df1⟧ »DATA« 
        └─⟦97c804b2f⟧ 
            └─⟦this⟧ 

TextFile

with Simple_Status;
with Po_Handle;

package Po_Conditions is


  subtype Condition_Class is Simple_Status.Condition_Class;
  subtype Condition_Name  is Simple_Status.Condition_Name;
  subtype Condition       is Simple_Status.Condition;

  Normal  : constant Condition_Class := Simple_Status.Normal;
  Warning : constant Condition_Class := Simple_Status.Warning;
  Problem : constant Condition_Class := Simple_Status.Problem;
  Fatal   : constant Condition_Class := Simple_Status.Fatal;

  function Create_Condition_Name
            (Error_Type : String; Severity : Condition_Class)
            return Condition_Name renames Simple_Status.Create_Condition_Name;

  Lock_Error   : constant Condition_Name :=
   Create_Condition_Name (Error_Type => "Lock Error", Severity => Problem);
  Name_Error   : constant Condition_Name :=
   Create_Condition_Name (Error_Type => "Name Error", Severity => Problem);
  Mode_Error   : constant Condition_Name :=
   Create_Condition_Name (Error_Type => "Mode Error", Severity => Problem);
  Status_Error : constant Condition_Name :=
   Create_Condition_Name (Error_Type => "Status Error", Severity => Problem);
  Data_Error   : constant Condition_Name :=
   Create_Condition_Name
    (Error_Type => "Invalid Data Layout", Severity => Problem);
  Class_Error  : constant Condition_Name :=
   Create_Condition_Name
    (Error_Type => "Invalid File Class Identifier", Severity => Problem);
  File_Error   : constant Condition_Name :=
   Create_Condition_Name
    (Error_Type => "Unknown File Class", Severity => Problem);

  No_Error : constant Condition_Name := Create_Condition_Name
                                         (Error_Type => "", Severity => Normal);


  procedure Check_Condition (Cond           : Condition;
                             Handle         : Po_Handle.Object;
                             Abort_Severity : Condition_Class := Problem);


end Po_Conditions;