CMS 3D CMS Logo

lat::FilenameError Class Reference

Filename expansion error class. More...

#include <Iguana/Utilities/classlib/iobase/FilenameError.h>

Inheritance diagram for lat::FilenameError:

lat::Error

List of all members.

Public Types

enum  Reason { UNTERMINATED_VAR, BAD_SYNTAX, NO_SUCH_VAR }

Public Member Functions

virtual Errorclone (void) const
 Make a deep copy of this exception chain.
virtual std::string explainSelf (void) const
 Explain this exception object.
 FilenameError (Reason cause, const std::string &spec="")
Reason reason (void) const
virtual void rethrow (void)
 Rethrow the error to discover its real dynamic type.
const std::string & variable (void) const

Private Attributes

Reason m_reason
std::string m_spec


Detailed Description

Filename expansion error class.

Definition at line 17 of file FilenameError.h.


Member Enumeration Documentation

enum lat::FilenameError::Reason

Enumerator:
UNTERMINATED_VAR 
BAD_SYNTAX 
NO_SUCH_VAR 

Definition at line 20 of file FilenameError.h.

00020                 {
00021         UNTERMINATED_VAR,       //< Unterminated variable reference
00022         BAD_SYNTAX,             //< Badly formed variable
00023         NO_SUCH_VAR             //< Non-existent variable
00024     };


Constructor & Destructor Documentation

lat::FilenameError::FilenameError ( Reason  cause,
const std::string &  spec = "" 
)


Member Function Documentation

virtual Error* lat::FilenameError::clone ( void   )  const [virtual]

Make a deep copy of this exception chain.

Implements lat::Error.

virtual std::string lat::FilenameError::explainSelf ( void   )  const [virtual]

Explain this exception object.

Implements lat::Error.

Reason lat::FilenameError::reason ( void   )  const

virtual void lat::FilenameError::rethrow ( void   )  [virtual]

Rethrow the error to discover its real dynamic type.

Implements lat::Error.

const std::string& lat::FilenameError::variable ( void   )  const


Member Data Documentation

Reason lat::FilenameError::m_reason [private]

Definition at line 36 of file FilenameError.h.

std::string lat::FilenameError::m_spec [private]

Definition at line 37 of file FilenameError.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:25 2009 for CMSSW by  doxygen 1.5.4