LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LinguisticProcessingException.h File Reference
#include "common/LimaCommon.h"
#include <string>

Go to the source code of this file.

Classes

class  Lima::LinguisticProcessing::LinguisticProcessingException
 

Namespaces

namespace  Lima
 NAUTITIA.
 
namespace  Lima::LinguisticProcessing
 

Macros

#define LIMA_LP_EXCEPTION(X)
 This macro writes the message X to a previously configured error stream before throwing a LinguisticProcessingException with the same message.
 

Macro Definition Documentation

◆ LIMA_LP_EXCEPTION

#define LIMA_LP_EXCEPTION (   X)
Value:
{ \
QString errorString; \
QTextStream qts(&errorString); \
qts << __FILE__ << ":" << __LINE__ << ": " << X ; \
LERROR << errorString; \
throw LinguisticProcessingException(errorString); \
}
#define LERROR
Definition LimaCommon.h:161

This macro writes the message X to a previously configured error stream before throwing a LinguisticProcessingException with the same message.

Definition at line 34 of file LinguisticProcessingException.h.