Webmaster  |  Imprint 
Platinum
Platinum C++ Framework
Main  |  License  |  Documentation  |  Download  |  Support 

AccessError Class Reference

This indicates that a resource could not be accessed. More...

#include <Pt/Db/Exception.h>

List of all members.

Public Member Functions

 AccessError (const std::string &what, const SourceInfo &si) throw ()
 
See also:
Exception()

 ~AccessError () throw ()
 Destructor.


Detailed Description

An exception of class AccessError is used to report failed access to a resource due to missing authorization, missing access rights or if a resource is in an otherwise inaccessible state. This class implements std::logic_error. Use the PT_SOURCEINFO macro to pass SourceInfo to Exception.

TODO: rename AccessDenied

Copyright © 2003-2007 The Pt Development Team
Pt 1.0