exceptions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ios> // for std::ios_base::failure
4 
5 #include "../exceptions.h"
6 
7 
9 {
10 
11  /**
12  * @brief Base class for exceptions in this library.
13  */
15  {
16  public:
17  using VoxelGridError::VoxelGridError;
18  };
19 
20 
21  /**
22  * @brief Indicates that voxel data with an invalid number of voxels
23  * has been passed to a VoxelGrid.
24  */
26  {
27  public:
28  BinaryIOError(const std::string& operation, const std::string& path,
29  const std::string& reason, const std::ios_base::failure& causing);
30  };
31 
32 
34  {
35  public:
36  BinaryReadError(const std::string& message, const std::ios_base::failure& causing);
37  };
38 
39 
40 }
41 
42 
visionx::voxelgrid::error::io::BinaryReadError::BinaryReadError
BinaryReadError(const std::string &message, const std::ios_base::failure &causing)
Definition: exceptions.cpp:17
visionx::voxelgrid::error::io::BinaryReadError
Definition: exceptions.h:33
message
message(STATUS "Boost-Library-Dir: " "${Boost_LIBRARY_DIRS}") message(STATUS "Boost-LIBRARIES
Definition: CMakeLists.txt:8
visionx::voxelgrid::error::io::BinaryIOError::BinaryIOError
BinaryIOError(const std::string &operation, const std::string &path, const std::string &reason, const std::ios_base::failure &causing)
Definition: exceptions.cpp:9
visionx::voxelgrid::error::io::BinaryIOError
Indicates that voxel data with an invalid number of voxels has been passed to a VoxelGrid.
Definition: exceptions.h:25
visionx::voxelgrid::error::VoxelGridError
Base class for exceptions in this library.
Definition: exceptions.h:18
visionx::voxelgrid::error::io::VoxelGridIOError
Base class for exceptions in this library.
Definition: exceptions.h:14
visionx::voxelgrid::error::io
Definition: exceptions.cpp:6