123456789101112131415161718192021222324252627282930 |
- #include "LayoutExceptionEnum.h"
- LayoutExceptionEnum::LayoutExceptionEnum()
- {
- }
- QString LayoutExceptionEnum::getStringForEnum(LayoutExceptionEnum::LayoutExceptionTypes enExceptionTypes)
- {
- QString sExceptionTypeString;
- switch(enExceptionTypes)
- {
- case LAYOUTEXCEPTION:
- sExceptionTypeString = "LAYOUTEXCEPTION";
- break;
- case LAYOUT_FILEIOEXCEPTION:
- sExceptionTypeString = "FILEIOEXCEPTION";
- break;
- case LAYOUT_MEMORYEXCEPTION:
- sExceptionTypeString = "MEMORYEXCEPTION";
- break;
- default:
- sExceptionTypeString = "LAYOUTEXCEPTION";
- break;
- }
- return sExceptionTypeString;
- }
|