libepp_nicbr
StringEncodingException.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: StringEncodingException.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __STRING_ENCODING_EXCEPTION_H__
8 #define __STRING_ENCODING_EXCEPTION_H__
9 
10 #include "libepp_nicbr.H"
11 
12 #include "GeneralException.H"
13 
14 LIBEPP_NICBR_NS_BEGIN
15 
18 {
19 public:
22  MISSING_CHAR = 5000,
23  ASCII_ENCODING = 5001,
24  ENCODING_SEQUENCE = 5002,
25  FIRST_OCTET = 5003
26  };
27 
29 
33  StringEncodingException(const int code, const string &msg) :
34  GeneralException(code, msg) {};
35 
36 
37 };
38 
39 LIBEPP_NICBR_NS_END
40 #endif //__STRING_ENCODING_EXCEPTION_H__
StringEncodingException(const int code, const string &msg)
Constructor.
Definition: StringEncodingException.H:33
Project defines.
General Exception Class.
Definition: GeneralException.H:19
ExceptionCode
IO Exception Code.
Definition: StringEncodingException.H:21
General Exception Class.
IO Exception Class.
Definition: StringEncodingException.H:17