23#ifndef VCL_MESH_EXCEPTIONS_H
24#define VCL_MESH_EXCEPTIONS_H
44 virtual const char* what()
const throw()
46 static std::string
error;
48 std::string(
"Inconsistent Mesh - ") + std::runtime_error::what();
64 std::runtime_error(
err)
68 virtual const char* what()
const throw()
70 static std::string
error;
71 error = std::string(
"Missing Mesh Precondition - ") +
72 std::runtime_error::what();
87 std::runtime_error(
err)
91 virtual const char* what()
const throw()
93 static std::string
error;
95 std::string(
"Lack of Compactness - ") + std::runtime_error::what();
114 virtual const char* what()
const throw()
116 static std::string
error;
118 std::string(
"Missing Component - ") + std::runtime_error::what();
119 return error.c_str();
134 std::runtime_error(
err)
138 virtual const char* what()
const throw()
140 static std::string
error;
141 error = std::string(
"Missing Triangular Mesh Requirement - ") +
142 std::runtime_error::what();
143 return error.c_str();
157 std::runtime_error(
err)
161 virtual const char* what()
const throw()
163 static std::string
error;
164 error = std::string(
"Missing Quad Mesh Requirement - ") +
165 std::runtime_error::what();
166 return error.c_str();
181 virtual const char* what()
const throw()
183 static std::string
error;
184 error = std::string(
"Bad Vertex Index - ") + std::runtime_error::what();
185 return error.c_str();
200 std::runtime_error(
err)
204 virtual const char* what()
const throw()
206 static std::string
error;
207 error = std::string(
"Bad Custom Component Type - ") +
208 std::runtime_error::what();
209 return error.c_str();
Exception thrown when the type of a custom component is not the one expected.
Definition exceptions.h:197
Exception thrown when an index is out of bounds in a vertex container.
Definition exceptions.h:177
A class representing a box in N-dimensional space.
Definition box.h:46
Exception thrown when the mesh is inconsistent.
Definition exceptions.h:38
Exception thrown when the mesh is not compact.
Definition exceptions.h:84
Exception thrown when a mesh/element component is missing (not enabled).
Definition exceptions.h:108
Exception thrown when a precondition on an input/output mesh is missing.
Definition exceptions.h:61
Exception thrown when an input/output mesh is not composed of quads.
Definition exceptions.h:154
Exception thrown when an input/output mesh is not composed of triangles.
Definition exceptions.h:131