ROSE  0.11.96.11
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 <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.
 
const char * Message () const
 Get message of exception.
 

Member Enumeration Documentation

◆ eType

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

◆ Exception()

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

Constructor.

Parameters
messageException message.
typeType of exception.

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