17 #ifndef ZORBA_XQUERY_EXCEPTION_API_H
18 #define ZORBA_XQUERY_EXCEPTION_API_H
25 namespace serialization {
27 void operator&( Archiver&, ZorbaException*& );
82 bool has_source() const throw() {
92 return source_loc_.file();
101 return source_loc_.line();
110 return source_loc_.column();
119 return source_loc_.line_end();
128 return source_loc_.column_end();
150 void polymorphic_throw()
const;
155 std::ostream& print( std::ostream &o )
const;
169 line_type raise_line,
char const *message );
186 friend void set_source(
ZorbaException&,
char const*, line_type, column_type,
187 line_type, column_type,
bool );