// -*- C++ -*- // Boost general library 'format' --------------------------- // See http://www.boost.org for updates, documentation, and revision history. // (C) Samuel Krempp 2001 // krempp@crans.ens-cachan.fr // Permission to copy, use, modify, sell and // distribute this software is granted provided this copyright notice appears // in all copies. This software is provided "as is" without express or implied // warranty, and with no claim as to its suitability for any purpose. // ideas taken from Rüdiger Loos's format class // and Karl Nelson's ofstream (also took its parsing code as basis for printf parsing) // ------------------------------------------------------------------------------ // exceptions.hpp // ------------------------------------------------------------------------------ #ifndef BOOST_FORMAT_EXCEPTIONS_HPP #define BOOST_FORMAT_EXCEPTIONS_HPP #include namespace boost { namespace io { // **** exceptions -----------------
aboutsummaryrefslogtreecommitdiff
e() {} virtual const char *what() const throw() { return "boost::out_of_range: " "tried to refer to an argument (or item) number which is out of range, " "according to the format string."; } }; } // namespace io } // namespace boost #endif // BOOST_FORMAT_EXCEPTIONS_HPP