com.bea.netuix.servlets.manager.communities
Class CommunityAccessRedirectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bea.netuix.application.exception.NetuixException
              extended by com.bea.netuix.application.exception.RedirectionException
                  extended by com.bea.netuix.servlets.manager.communities.CommunityAccessRedirectionException
All Implemented Interfaces
Serializable

public class CommunityAccessRedirectionException
extends RedirectionException

This exception is thrown when the CommunityContext needs to affect a redirection, such as when the registration page must be used or when the community / member / membership is deactivated.

The overview of community functionality contains a description of the community framework.

See Also
Serialized Form

Constructor Summary
CommunityAccessRedirectionException(String s, String redirectUri, int type)
          Constructs a CommunityAccessRedirectionException with the specified detail message.
 
Method Summary
 int getType()
          Retrieves the type code
 
Methods inherited from class com.bea.netuix.application.exception.RedirectionException
getRedirectUri, setRedirectUri
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommunityAccessRedirectionException

public CommunityAccessRedirectionException(String s,
                                           String redirectUri,
                                           int type)
Constructs a CommunityAccessRedirectionException with the specified detail message.

Parameters
s - The detail message
redirectUri - the URI to redirect to. This can be null if the framework should take a default redirection action.
type - one of the CommunityRedirectionHelper.REDIRECTION_TYPE_ constants indicating the sub-type of this CommunityAccessRedirectionException
Method Detail

getType

public int getType()
Retrieves the type code

Returns
The type code (one of the CommunityRedirectionHelper.REDIRECTION_TYPE_ constants) for this CommunityAccessRedirectionException


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.