Quintiq file version 2.0 
 | 
#parent: #root 
 | 
StaticMethod ReadAndThrow (Exception exception, LibOpt_Task task, LibOpt_Snapshot snapshot) 
 | 
{ 
 | 
  Description: 
 | 
  [* 
 | 
    The `LibOpt_SnapshotError::Read` method transforms an `Exception` into a `LibOpt_Error`. 
 | 
    Then the `LibOpt_SnapshotError::Throw` creates a new `LibOpt_SnapshotError` snapshot from the `LibOpt_Error`.  
 | 
    This error snapshot will show up as a child of `snapshot` in the 'Snapshots' form. 
 | 
  *] 
 | 
  TextBody: 
 | 
  [* 
 | 
    // evr3 Jun-4-2020 (created) 
 | 
    err := LibOpt_SnapshotError::Read( exception );   
 | 
    LibOpt_SnapshotError::Throw( task.Run(), snapshot, err ); 
 | 
  *] 
 | 
  InterfaceProperties { Accessibility: 'Module' } 
 | 
} 
 |