ResourceTypeMismatchException Class Reference

The exception thrown when a resource has different type from requested type. More...

Inheritance diagram for ResourceTypeMismatchException:

Public Member Functions

 ResourceTypeMismatchException (const char *resourceName, const char *typeName) throw ()
 Constructor.
 
 ResourceTypeMismatchException (const ResourceTypeMismatchException &other) throw ()
 Copy constructor.
 
virtual ~ResourceTypeMismatchException () throw ()
 Destructor.
 
ResourceTypeMismatchExceptionoperator= (const ResourceTypeMismatchException &other) throw ()
 Copy operator.
 
const char * resourceName () const throw ()
 Returns the name of the resource.
 
const char * typeName () const throw ()
 Returns the type name of the resource.
 
virtual const char * what () const throw ()
 Returns a C string describing the exception.
 

Detailed Description

The exception thrown when a resource has different type from requested type.

Definition at line 1373 of file configurationexceptions.h.

Constructor & Destructor Documentation

ResourceTypeMismatchException ( const char *  resourceName,
const char *  typeName 
) throw ()
inline

Constructor.

Parameters
resourceNamethe name of the resource. The buffer for this is at most 256 characters (including the '\0' terminator)
typeNamethe name of the expected type of the resource. The buffer for this is at most 256 characters (including the '\0' terminator)

Definition at line 1386 of file configurationexceptions.h.

Copy constructor.

Parameters
otherthe exception to copy

Definition at line 1402 of file configurationexceptions.h.

virtual ~ResourceTypeMismatchException ( ) throw ()
inlinevirtual

Destructor.

Definition at line 1438 of file configurationexceptions.h.

Member Function Documentation

ResourceTypeMismatchException& operator= ( const ResourceTypeMismatchException other) throw ()
inline

Copy operator.

Parameters
otherthe exception to copy

Definition at line 1418 of file configurationexceptions.h.

const char* resourceName ( ) const throw ()
inline

Returns the name of the resource.

Returns
the name of the resource

Definition at line 1457 of file configurationexceptions.h.

const char* typeName ( ) const throw ()
inline

Returns the type name of the resource.

Returns
the type name of the resource

Definition at line 1467 of file configurationexceptions.h.

virtual const char* what ( ) const throw ()
inlinevirtual

Returns a C string describing the exception.

Returns
a C string describing the exception

Definition at line 1447 of file configurationexceptions.h.


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