source: trunk/packages/vizservers/nanovis/socket/SocketException.h @ 2898

Last change on this file since 2898 was 2898, checked in by ldelgass, 13 years ago

janitorial

  • Property svn:eol-style set to native
File size: 821 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/* ======================================================================
3 *  AUTHOR:  Wei Qiao <qiaow@purdue.edu>
4 *           Purdue Rendering and Perceptualization Lab (PURPL)
5 *
6 *  Copyright (c) 2004-2006  Purdue Research Foundation
7 *
8 *  See the file "license.terms" for information on usage and
9 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
10 * ======================================================================
11 */
12#ifndef SOCKETEXCEPTION_H
13#define SOCKETEXCEPTION_H
14
15#include <string>
16
17class SocketException
18{
19public:
20    SocketException (std::string s) :
21        m_s (s)
22    {}
23
24    ~SocketException()
25    {}
26
27    std::string description()
28    {
29        return m_s;
30    }
31
32private:
33    std::string m_s;
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.