ConfigException.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: ConfigException.cpp 64 2008-01-14 20:31:24Z phbaer $
00003  *
00004  * Copyright 2008 Carpe Noctem, Distributed Systems Group,
00005  * University of Kassel. All right reserved.
00006  *
00007  * The code is licensed under the Carpe Noctem Userfriendly BSD-Based
00008  * License (CNUBBL). Redistribution and use in source and binary forms,
00009  * with or without modification, are permitted provided that the
00010  * conditions of the CNUBBL are met.
00011  *
00012  * You should have received a copy of the CNUBBL along with this
00013  * software. The license is also available on our website:
00014  * http://carpenoctem.das-lab.net/license.txt
00015  */
00016 
00017 #include "ConfigException.h"
00018 
00019 namespace castor {
00020 
00021         ConfigException::ConfigException(const std::string what, ...) throw() {
00022                 va_list params;
00023                 va_start(params, what);
00024                 setReason(what, params);
00025                 va_end(params);
00026         }
00027 
00028 }
00029 
00030 std::ostream &operator << (std::ostream &os, const castor::ConfigException &x) {
00031         return os << x.what();
00032 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:39