Class: TStandardFileSystemPathNameError

Declaration: FileSystemExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TFileSystemPathNameError

Inherited By:

None.

Purpose:

Concrete class for file system path name errors.

Instantiation:

Allocate on the heap or the stack; the heap is preferred.

Deriving Classes:

Do not derive from this class.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TStandardFileSystemPathNameError::operator=

TStandardFileSystemPathNameError & operator =(const TStandardFileSystemPathNameError & copy)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardFileSystemPathNameError::~

TStandardFileSystemPathNameError ; virtual ~ TStandardFileSystemPathNameError ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardFileSystemPathNameError::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Rethrows the exception polymorphically.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardFileSystemPathNameError::GetReason

EReason GetReason () const

Interface Category:

API.

Purpose:

Obtains the reason that the exception was thrown.

Calling Context:

Call this function directly.

Parameters:

Return Value:

The reason the exception was thrown.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardFileSystemPathNameError::TStandardFileSystemPathNameError

  1. TStandardFileSystemPathNameError (EReason whatHappened)
  2. TStandardFileSystemPathNameError (const TStandardFileSystemPathNameError & copy)
  3. TStandardFileSystemPathNameError ()

Interface Category:

API.

Purpose:

  1. Constructs an exception, specifying the reason for the exception.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. Call this function directly.
  2. Called to copy an object.
  3. Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.