Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
JTRIGGER::JTriggerException Class Reference

General exception. More...

#include <JTriggerException.hh>

Inheritance diagram for JTRIGGER::JTriggerException:

Public Member Functions

 JTriggerException (const std::string &error)
 Constructor. More...
 
 ~JTriggerException () throw ()
 Destructor. More...
 
virtual const char * what () const throw ()
 Get error message. More...
 

Private Attributes

const std::string buffer
 

Detailed Description

General exception.

Definition at line 22 of file JTriggerException.hh.

Constructor & Destructor Documentation

JTRIGGER::JTriggerException::JTriggerException ( const std::string &  error)
inline

Constructor.

Parameters
errorerror message

Definition at line 29 of file JTriggerException.hh.

29  :
30  std::exception(),
31  buffer(error)
32  {}
JTRIGGER::JTriggerException::~JTriggerException ( )
throw (
)
inline

Destructor.

Definition at line 38 of file JTriggerException.hh.

39  {}

Member Function Documentation

virtual const char* JTRIGGER::JTriggerException::what ( ) const
throw (
)
inlinevirtual

Get error message.

Returns
error message

Definition at line 47 of file JTriggerException.hh.

47 { return buffer.c_str(); }

Member Data Documentation

const std::string JTRIGGER::JTriggerException::buffer
private

Definition at line 50 of file JTriggerException.hh.


The documentation for this class was generated from the following file: