1 #include <msp/strings/format.h>
9 bad_seek::bad_seek(SeekOffset offset, SeekType type):
10 runtime_error(type==S_BEG ? lexical_cast<string>(offset) :
11 type==S_CUR ? format("CUR%+d", offset) :
12 type==S_END ? format("END%+d", offset) :
13 format("SeekType(%d)", type))