Source of PrecondViolatedExcep.cpp


  1: //  Created by Frank M. Carrano and Tim Henry.
  2: //  Copyright (c) 2013 __Pearson Education__. All rights reserved.

  4: /** Listing 7-6.
  5:     @file PrecondViolatedExcep.cpp */
  6: #include "PrecondViolatedExcep.h"  

  8: PrecondViolatedExcep::PrecondViolatedExcep(const string& message): logic_error("Precondition Violated Exception: " + message)
  9: {
 10: }  // end constructor

 12: // End of implementation file.