Public Types | Public Member Functions | Private Attributes

ctkPluginException Class Reference

#include <Libs/PluginFramework/ctkPluginException.h>

List of all members.

Public Types

enum  Type {
  UNSPECIFIED, UNSUPPORTED_OPERATION, INVALID_OPERATION, MANIFEST_ERROR,
  RESOLVE_ERROR, ACTIVATOR_ERROR, SECURITY_ERROR, STATECHANGE_ERROR,
  DUPLICATE_BUNDLE_ERROR
}

Public Member Functions

 ctkPluginException (const QString &msg, const Type &type=UNSPECIFIED, const std::exception &cause=std::exception())
 ctkPluginException (const QString &msg, const std::exception &cause)
 ctkPluginException (const ctkPluginException &o)
std::exception getCause () const
Type getType () const
ctkPluginExceptionoperator= (const ctkPluginException &o)
void setCause (const std::exception &) throw (std::logic_error)
const char * what () const throw ()
 ~ctkPluginException () throw ()

Private Attributes

std::exception cause
Type type

Detailed Description

Definition at line 33 of file ctkPluginException.h.


Member Enumeration Documentation

Enumerator:
UNSPECIFIED 

No exception type is unspecified.

UNSUPPORTED_OPERATION 

The operation was unsupported.

INVALID_OPERATION 

The operation was invalid.

MANIFEST_ERROR 

The plugin manifest contains errors.

RESOLVE_ERROR 

The plugin was not resolved.

ACTIVATOR_ERROR 

The plugin activator was in error.

SECURITY_ERROR 

The operation failed due to insufficient permissions.

STATECHANGE_ERROR 

The operation failed to complete the requested lifecycle state change.

DUPLICATE_BUNDLE_ERROR 

The install or update operation failed because another already installed plugin has the same symbolic name and version.

Definition at line 37 of file ctkPluginException.h.


Constructor & Destructor Documentation

ctkPluginException::ctkPluginException ( const QString &  msg,
const Type type = UNSPECIFIED,
const std::exception &  cause = std::exception() 
)

Definition at line 25 of file ctkPluginException.cpp.

ctkPluginException::ctkPluginException ( const QString &  msg,
const std::exception &  cause 
)

Definition at line 32 of file ctkPluginException.cpp.

ctkPluginException::ctkPluginException ( const ctkPluginException o  ) 

Definition at line 39 of file ctkPluginException.cpp.

ctkPluginException::~ctkPluginException (  )  throw () [inline]

Definition at line 83 of file ctkPluginException.h.


Member Function Documentation

std::exception ctkPluginException::getCause (  )  const

Definition at line 53 of file ctkPluginException.cpp.

ctkPluginException::Type ctkPluginException::getType (  )  const

Definition at line 65 of file ctkPluginException.cpp.

ctkPluginException & ctkPluginException::operator= ( const ctkPluginException o  ) 

Definition at line 45 of file ctkPluginException.cpp.

void ctkPluginException::setCause ( const std::exception &  cause  )  throw (std::logic_error)

Definition at line 58 of file ctkPluginException.cpp.

const char * ctkPluginException::what (  )  const throw ()

Definition at line 70 of file ctkPluginException.cpp.


Member Data Documentation

std::exception ctkPluginException::cause [private]

Definition at line 95 of file ctkPluginException.h.

Definition at line 94 of file ctkPluginException.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines