EncodingException.h
Go to the documentation of this file.
00001 /*
00002  * $Id: NetException.h 183 2008-01-20 18:45:14Z 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 #ifndef CASTOR_ENCODINGEXCEPTION_H
00018 #define CASTOR_ENCODINGEXCEPTION_H 1
00019 
00020 #include "Exception.h"
00021 
00022 namespace castor {
00023 
00024         class EncodingException : public Exception {
00025 
00026                 public:
00027 
00028                         EncodingException(const std::string what = "unknown encoding exception occured", ...) throw() {
00029                                 va_list params;
00030                                 va_start(params, what);
00031                                 setReason(what, params);
00032                                 va_end(params);
00033                         }
00034         };
00035 }
00036 
00037 #endif /* CASTOR_ENCODINGEXCEPTION_H */
00038 
 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