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

Last change on this file since 3177 was 3177, checked in by mmc, 12 years ago

Updated all of the copyright notices to reference the transfer to
the new HUBzero Foundation, LLC.

  • Property svn:eol-style set to native
File size: 818 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-2012  HUBzero Foundation, LLC
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.