Functions
contrib/mul/mbl/mbl_exception.cxx File Reference

Exceptions thrown by mbl, and a mechanism for turning them off. More...

#include "mbl_exception.h"
#include <vcl_cerrno.h>
#include <vcl_cstring.h>

Go to the source code of this file.

Functions

void mbl_exception_throw_os_error (const vcl_string &filename, const vcl_string &additional_comment)
 Throw mbl_exception_os_error or one of its derivatives, based on errno.

Detailed Description

Exceptions thrown by mbl, and a mechanism for turning them off.

Author:
Ian Scott.

Definition in file mbl_exception.cxx.


Function Documentation

void mbl_exception_throw_os_error ( const vcl_string &  filename,
const vcl_string &  additional_comment = "" 
)

Throw mbl_exception_os_error or one of its derivatives, based on errno.

If exceptions are disabled, this behaves like mbl_exception_warning() above.

Definition at line 90 of file mbl_exception.cxx.