Class: TStandardFileSystemPathSegmentDoesNotExistError

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: TStandardFileSystemPathSegmentDoesNotExistError::operator=

TStandardFileSystemPathSegmentDoesNotExistError & operator =(const TStandardFileSystemPathSegmentDoesNotExistError & 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: TStandardFileSystemPathSegmentDoesNotExistError::~

TStandardFileSystemPathSegmentDoesNotExistError ; virtual ~ TStandardFileSystemPathSegmentDoesNotExistError ()

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: TStandardFileSystemPathSegmentDoesNotExistError::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: TStandardFileSystemPathSegmentDoesNotExistError::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: TStandardFileSystemPathSegmentDoesNotExistError::GetIndexOfFailedSegment

long GetIndexOfFailedSegment () const

Interface Category:

API.

Purpose:

Returns the index of the TPathName segment which caused the exception.

Calling Context:

Call this function directly.

Parameters:

Return Value:

The index of the failed segment.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TStandardFileSystemPathSegmentDoesNotExistError::TStandardFileSystemPathSegmentDoesNotExistError

  1. TStandardFileSystemPathSegmentDoesNotExistError (EReason whatHappened, long whichSegment =-1)
  2. TStandardFileSystemPathSegmentDoesNotExistError (const TStandardFileSystemPathSegmentDoesNotExistError & copy)
  3. TStandardFileSystemPathSegmentDoesNotExistError ()

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.