org.jhotdraw.samples.svg.gui
Class ServerAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.jhotdraw.samples.svg.gui.ServerAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class ServerAuthenticationException
extends java.io.IOException

Thrown to indicate that a request failed because we didn't authenticate successfully.

This exception is used for communication with PmWiki. PmWiki does not return an HTTP status code, when the user failed to authenticate, instead it opens a page with a password form.

Version:
$Id: ServerAuthenticationException.java 527 2009-06-07 14:28:19Z rawcoder $
Author:
Werner Randelshofer
See Also:
Serialized Form

Constructor Summary
ServerAuthenticationException()
          Creates a new instance of ServerAuthenticationException without detail message.
ServerAuthenticationException(java.lang.String msg)
          Constructs an instance of ServerAuthenticationException with the specified detail message.
 
Method Summary
 
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

ServerAuthenticationException

public ServerAuthenticationException()
Creates a new instance of ServerAuthenticationException without detail message.


ServerAuthenticationException

public ServerAuthenticationException(java.lang.String msg)
Constructs an instance of ServerAuthenticationException with the specified detail message.

Parameters:
msg - the detail message.