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.
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.
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.
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.
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.
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.
- TStandardFileSystemPathSegmentDoesNotExistError (EReason whatHappened, long whichSegment =-1)
- TStandardFileSystemPathSegmentDoesNotExistError (const TStandardFileSystemPathSegmentDoesNotExistError & copy)
- TStandardFileSystemPathSegmentDoesNotExistError ()
Interface Category:
API.
Purpose:
- Constructs an exception, specifying the reason for the exception.
- Copy constructor.
- Default constructor.
Calling Context:
- Call this function directly.
- Called to copy an object.
- Called by the stream-in operators.
Parameters:
- EReason whatHappened -The reason the exception was thrown.
- long whichSegment =-1 -The index of the segment that caused the exception.
- const TStandardFileSystemAccessDenied & copy -The object to be copied.
- Takes no 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.