Class: TShutdownException

Declaration: Shutdown.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

TShutdownException is thrown to notify of abnormal conditions in the system shutdown service.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TShutdownException::TShutdownException

  1. TShutdownException ()
  2. TShutdownException (EShutdownExceptionID id)
  3. TShutdownException (const TShutdownException &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs a TShutdownException with a specific error ID.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to construct a TShutdownException with a specific error ID.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TShutdownException::~TShutdownException

virtual ~ TShutdownException ()

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:

Multithread safe.

Other Considerations:

None.

Member Function: TShutdownException::operator=

TShutdownException & operator =(const TShutdownException &)

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:

Multithread safe.

Other Considerations:

None.

Member Function: TShutdownException::GetReason

EShutdownExceptionID GetReason () const

Interface Category:

API.

Purpose:

Returns the reason code for this exception.

Calling Context:

Called to determine why the TShutdownException was thrown.

Parameters:

Return Value:

EShutdownExceptionID -The reason code. See EShutdownExceptionID.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TShutdownException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws this exception.

Calling Context:

Called in cases where a polymorphic throw is required, such as when the exception has been streamed across an RPC boundary.

Parameters:

Return Value:

None.

Exceptions:

Throws this TShutdownException.

Concurrency:

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.