Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/Error.hh

    r273e668 r10e33bc  
    33
    44//FJSTARTHEADER
    5 // $Id: Error.hh 3694 2014-09-18 13:21:54Z soyez $
     5// $Id: Error.hh 3809 2015-02-20 13:05:13Z soyez $
    66//
    77// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    9696
    9797
     98/// @ingroup error_handling
     99/// \class InternalError
     100/// class corresponding to critical internal errors
     101///
     102/// This is an error class (derived from Error) meant for serious,
     103/// critical, internal errors that we still want to be catchable by an
     104/// end-user [e.g. a serious issue in clustering where the end-user
     105/// can catch it and retry with a different strategy]
     106///
     107/// Please directly contact the FastJet authors if you see such an
     108/// error.
     109class InternalError : public Error{
     110public:
     111  /// ctor with error message:
     112  /// just add a bit of info to the message and pass it to the base class
     113  InternalError(const std::string & message_in) : Error(std::string("*** CRITICAL INTERNAL FASTJET ERROR *** CONTACT THE AUTHORS *** ") + message_in){ }
     114};
     115
     116
    98117FASTJET_END_NAMESPACE
    99118
Note: See TracChangeset for help on using the changeset viewer.