2 #ifndef BRUKEREXCEPTION_H
3 #define BRUKEREXCEPTION_H
5 #include "brukerSystem.h"
10 class creaBruker_EXPORT BrukerSizeException: public std::exception
13 BrukerSizeException( const std::string& message,
17 : m_message(message), m_lgt(lgt), m_expected_lgt(expected_lgt)
20 ~BrukerSizeException() throw() {}
22 virtual const char* what() const throw() {
23 return m_message.c_str();
26 int getFoundLgt() const throw() {
30 int getExpectedLgt() const throw() {
31 return m_expected_lgt;
35 std::string m_message;