Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
networktables2
util
IOException.cpp
1
/*
2
* IOException.cpp
3
*
4
* Created on: Oct 1, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#include "networktables2/util/IOException.h"
9
#include <stdlib.h>
10
#include <string.h>
11
12
13
IOException::IOException
(
const
char
* msg) : message(strdup(msg)), errorValue(0){}
14
IOException::IOException
(
const
char
* msg,
int
_errorValue) : message(strdup(msg)), errorValue(_errorValue){}
15
16
const
char
*
IOException::what
(){
17
return
message;
18
}
19
20
bool
IOException::isEOF
(){
return
false
;}
21
22
IOException::~IOException() throw (){
23
free((
void
*)message);
24
}
IOException::what
const char * what()
Definition:
IOException.cpp:16
IOException::IOException
IOException(const char *message)
Definition:
IOException.cpp:13
IOException::isEOF
virtual bool isEOF()
Definition:
IOException.cpp:20
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.