ROSE  0.11.124.0
Public Types | Public Member Functions | List of all members
Rose::Yaml::Exception Class Reference

Description

Base class for YAML exceptions.

Definition at line 151 of file Yaml.h.

#include <Rose/Yaml.h>

Inheritance diagram for Rose::Yaml::Exception:
Inheritance graph
[legend]
Collaboration diagram for Rose::Yaml::Exception:
Collaboration graph
[legend]

Public Types

enum  eType {
  InternalError,
  ParsingError,
  OperationError
}
 Exception types. More...
 

Public Member Functions

 Exception (const std::string &message, const eType type)
 Constructor. More...
 
eType Type () const
 Get type of exception. More...
 
const char * Message () const
 Get message of exception. More...
 

Member Enumeration Documentation

Exception types.

Enumerator
InternalError 

Internal error.

ParsingError 

Invalid parsing data.

OperationError 

User operation error.

Definition at line 154 of file Yaml.h.

Constructor & Destructor Documentation

Rose::Yaml::Exception::Exception ( const std::string &  message,
const eType  type 
)

Constructor.

Parameters
messageException message.
typeType of exception.

Member Function Documentation

eType Rose::Yaml::Exception::Type ( ) const

Get type of exception.

const char* Rose::Yaml::Exception::Message ( ) const

Get message of exception.


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