Aspera Developer Documentation

Exception Class Reference

Inherited by InvalidOperationException, JobNotFoundException, SendException, SocketException, StateException, ValidationException, and XferException.

List of all members.


Detailed Description

A class providing a base for FASP management related exception handling.

Public Member Functions

FASP_MANAGER_API Exception ()
 Constructs this default FASP exception.
FASP_MANAGER_API Exception (std::string err_msg)
virtual FASP_MANAGER_API ~Exception ()
 Deconstructs this FASP exception.
FASP_MANAGER_API const char * GetErrMsg ()

Protected Attributes

std::string m_err_msg
 The error message associated with this FASP exception.

Constructor & Destructor Documentation

FASP_MANAGER_API Exception ( std::string  err_msg  )  [inline]

Constructs this FASP exception.

Parameters:
err_msg the error message associated with this FASP exception


Member Function Documentation

FASP_MANAGER_API const char* GetErrMsg (  )  [inline]

Gets the error message associated with this FASP exception.

Returns:
the error message associated with this FASP exception


Copyright © 2005 - 2008 Aspera, Inc. | asperasoft.com