rwsf::ServiceShutdownException rwsf::Exception
#include <rw/rwsf/soapworx/except.h>
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.
ServiceShutdownException();
Default constructor. Creates an exception that returns "Service Shutdown" when its method why() is called.
ServiceShutdownException(const char* msg);
Creates an exception that returns msg as a char.
ServiceShutdownException(const ExceptionMessage&);
Creates an exception that returns msg as an instance of rwsf::ExceptionMessage.
virtual ~ServiceShutdownException();
Default destructor.
void Throw( const ServiceShutdownException& );
Calls rwsfErrRoutine when exceptions are not supported; otherwise throws a rwsf::ServiceShutdownException.
rwsf_DECLARE_EXCEPTION_METHODS(ServiceShutdownException)
Declares the appropriate raise and clone methods for a rwsf::ServiceShutdownException.
©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.