Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::ServiceShutdownException

Group:  Utility


rwsf::ServiceShutdownException rwsf::Exception

Local Index

Members

Header File

#include <rw/rwsf/soapworx/except.h>

Description

Class rwsf::ServiceShutdownException provides a means to shut down a service from within the service implementation.

In the case of HTTP and HTTPS transports, any request that results in this server exception, the server sends a 500 "Internal Server Error" response back.

For the rwsf server Bobcat, the service is taken out of service and subsequent requests yield the "Not Found" 400 error, which is standard Bobcat behavior.

For a standalone HTTP or HTTPS server, the listener shuts down and subsequent requests fail. The thread that contains the listener object can then call the method isStopped() to see if has been shut down.


NOTE -- rwsf::ServiceShutdownException is the only exception-related class in SOAPworX. All other exceptions are in the rwsf Core Library.

Public Constructor

ServiceShutdownException();
ServiceShutdownException(const char* msg);
ServiceShutdownException(const ExceptionMessage&);

Public Destructor

virtual 
~ServiceShutdownException();

Public Member Functions

void 
Throw( const ServiceShutdownException&  );

Macros

rwsf_DECLARE_EXCEPTION_METHODS(ServiceShutdownException)

Declares the appropriate raise and clone methods for a rwsf::ServiceShutdownException.



Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.