The Sleuth Kit Framework  4.1
Public Member Functions | Protected Member Functions | List of all members
TskException Class Reference

Framework exception class. More...

#include <TskException.h>

Inheritance diagram for TskException:

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.
 
TskExceptionoperator= (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.
 

Detailed Description

Framework exception class.

Member Function Documentation

const char * TskException::what ( ) const
throw (
)
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().


The documentation for this class was generated from the following files:

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.