net.sf.ooweb.http
Class NotAuthenticatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.ooweb.http.NotAuthenticatedException
All Implemented Interfaces:
java.io.Serializable

public class NotAuthenticatedException
extends java.lang.Exception

NotAuthenticatedException is thrown to indicate that no authentication credentials were found in the request, or that the credentials didn't match any known user of the application.

Since:
0.5
Author:
Darren Davison
See Also:
Serialized Form

Constructor Summary
NotAuthenticatedException()
          default c'tor
NotAuthenticatedException(java.lang.String realm)
           
NotAuthenticatedException(java.lang.String message, java.lang.Throwable cause)
           
NotAuthenticatedException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getRealm()
           
 void setRealm(java.lang.String realm)
           
 
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

NotAuthenticatedException

public NotAuthenticatedException()
default c'tor


NotAuthenticatedException

public NotAuthenticatedException(java.lang.String realm)
Parameters:
realm - - the name of the realm to authenticate in

NotAuthenticatedException

public NotAuthenticatedException(java.lang.String message,
                                 java.lang.Throwable cause)
Parameters:
message -
cause -

NotAuthenticatedException

public NotAuthenticatedException(java.lang.Throwable cause)
Parameters:
cause -
Method Detail

getRealm

public java.lang.String getRealm()

setRealm

public void setRealm(java.lang.String realm)


Copyright (C) 2005-2007 OOWeb Authors.