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

rwsf::ServletUnavailableException

Package:  Servlet


rwsf::ServletUnavailableException rwsf::ServletException rwsf::Exception

Local Index

Members

Header File

#include <rwsf/servlet/except.h>

Description

A servlet throws rwsf::ServletUnavailableException to indicate to the Agent that the servlet cannot process requests.

Public Constructors

ServletUnavailableException(const char* msg);
ServletUnavailableException(const ExceptionMessage& msg);
ServletUnavailableException(const char* msg, int seconds);
ServletUnavailableException(const ExceptionMessage& msg, 
                            int seconds);

NOTE -- If a servlet throws rwsf::ServletUnavailableException from init(), that servlet will not be placed into service regardless of whether the exception specifies a timeout.

Public Destructor

virtual 
~ServletUnavailableException();

Public Member Functions

int
getUnavailableSeconds() const;
bool
isPermanent() const;

See Also

rwsf::ServletException



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.