Created by Scott Robert Ladd at Coyote Gulch Productions.
#include <validator.h>
Inherits std::runtime_error.
libcoyotl::validation_error< Type >::validation_error | ( | const Type & | object, | |
const string & | details = string() | |||
) | [inline] |
Constructs a validation_error from an object and an optional detail string. The resulting error message -- retrieved via the what() method inherited from runtime_error -- contains the type of object, it's content, and the test of the detail string (if one is provided).
object | The erroneous object that failed validation | |
details | A string providing detailed information about the validation failure |
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.