Public Member Functions | |
| mxException (Type t) | |
| const void | printError (ostream &out) const |
Public Attributes | |
| Type | data |
Definition at line 46 of file mx_exception.h.
| mx::mxException< Type >::mxException | ( | Type | t | ) | [inline, explicit] |
constructor takes param of type T
| t | of Type |
Definition at line 53 of file mx_exception.h.
References mx::mxException< Type >::data.
00054 { 00055 data = t; 00056 }
| const void mx::mxException< Type >::printError | ( | ostream & | out | ) | const [inline] |
printError prints error to a ostream stream
| out | ostream object that error of type Type is streamed to |
Definition at line 63 of file mx_exception.h.
References mx::mxException< Type >::data.
00064 { 00065 00066 out << data << "\n"; 00067 }
| Type mx::mxException< Type >::data |
data of type Type
Definition at line 73 of file mx_exception.h.
Referenced by mx::mxException< Type >::mxException(), and mx::mxException< Type >::printError().
1.5.8