File: SDLException.h

package info (click to toggle)
moagg 0.18-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,924 kB
  • ctags: 4,059
  • sloc: cpp: 23,814; sh: 2,652; makefile: 283
file content (20 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SDLEXCEPTION_H
#define SDLEXCEPTION_H

#include "Exception.h"

//----------------------------------------------------------------------------
class SDLException : public Exception
{
  public:
    SDLException(const char *call);
    ~SDLException();

    std::string toString() const;

  protected:
    const char *m_call;
    const char *m_sdlError;
};

#endif //SDLEXCEPTION_H