|
The Sleuth Kit Framework
4.1
|
Framework exception class. More...
#include <TskException.h>
Public Member Functions | |
| virtual const char * | className () const throw () |
| Returns the name of the exception class. | |
| int | code () const |
| Returns the exception code. | |
| const std::string & | message () const |
| Returns the message text. | |
| virtual const char * | name () const throw () |
| Returns a static string describing the exception. | |
| TskException & | operator= (const TskException &e) |
| Assignment operator. | |
| TskException (const std::string &msg, int code=0) | |
| Create an exception using the supplied message. | |
| TskException (const TskException &e) | |
| Copy Constructor. | |
| virtual const char * | what () const throw () |
| Returns a static string describing the exception. More... | |
| ~TskException () throw () | |
| Destructor. | |
Protected Member Functions | |
| void | message (const std::string &msg) |
| Sets the message for the exception. | |
| TskException (int code=0) | |
| Default constructor. | |
Framework exception class.
|
virtual | |||||||||||||
Returns a static string describing the exception.
Same as name(), but for compatibility with std::exception.
References name().
Referenced by TskImgDBPostgreSQL::createBlackboardArtifact(), TskImgDBPostgreSQL::getFileId(), TskExecutableModule::setPath(), and TskPluginModule::setPath().
Copyright © 2011-2013 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.