#include <Exception.h>
Definition at line 121 of file Exception.h.
◆ ParseException() [1/2]
ParseException::ParseException |
( |
const String & | _message | ) |
|
◆ ParseException() [2/2]
ParseException::ParseException |
( |
const String & | _message, |
|
|
size_t | _sourceOffset ) |
Definition at line 234 of file Exception.cpp.
236{
237 __message = _message;
238 __sourceOffset = _sourceOffset;
239}
Exception(Exception *_cause=NULL)
◆ toString()
String ParseException::toString |
( |
| ) |
const |
|
virtual |
Reimplemented from Exception.
Definition at line 241 of file Exception.cpp.
242{
243 StringBuilder sb = __message;
244 if (__sourceOffset >= 0)
245 {
246 sb += L": offset:";
247#if __WORDSIZE == 64
249#else
251#endif
252 }
253 return sb;
254}
String toString(unsigned _base=10) const
String toString(unsigned _base=10) const
The documentation for this class was generated from the following files: