| SOL9 2.0 Class: IOException |
| SOL9 C++ Class Library | SOL9 Samples | SOL9 Tutorial | SOL9 FAQ | SOL9 ClassTree |
/*
* IOException.h
* Copyright (c) 2011 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
// SOL++2000
#pragma once
#include <sol\Exception.h>
namespace SOL {
class IOException :public Exception {
public:
IOException(const char* msg, int error =0)
:Exception(msg, error) { }
public:
//2008/07/11
IOException(int error, const char* format,...)
:Exception(error) {
va_list pos;
va_start(pos, format);
formatMessage(format, pos);
va_end(pos);
}
~IOException() { }
};
}
|