to.etc.domui.trouble
Class NotLoggedInException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by to.etc.domui.trouble.NotLoggedInException
All Implemented Interfaces:
java.io.Serializable

public class NotLoggedInException
extends java.lang.RuntimeException

Thrown when access control is specified on a page but the user is not logged in.

Author:
Frits Jalvingh Created on Apr 15, 2009
See Also:
Serialized Form

Constructor Summary
NotLoggedInException(java.lang.String url)
           
 
Method Summary
static NotLoggedInException create(IRequestContext ctx, Page page)
          Create the proper exception type to return back to the specified page after login.
 java.lang.String getURL()
           
 
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

NotLoggedInException

public NotLoggedInException(java.lang.String url)
Method Detail

getURL

public java.lang.String getURL()

create

public static NotLoggedInException create(IRequestContext ctx,
                                          Page page)
Create the proper exception type to return back to the specified page after login.

Parameters:
ctx -
Returns: