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 "SpicaException.h" 00018 00019 namespace castor { namespace spica { 00020 00021 SpicaException::SpicaException(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