/*
* @(#)ServerAuthenticationException.java
*
* Copyright (c) 2007 The authors and contributors of JHotDraw.
* You may not use, copy or modify this file, except in compliance with the
* accompanying license terms.
*/
package org.jhotdraw.samples.svg.gui;
import java.io.*;
/**
* Thrown to indicate that a request failed because we didn't authenticate
* successfully.
* <p>
* 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.
*
* @author Werner Randelshofer
* @version $Id$
*/
public class ServerAuthenticationException extends IOException {
private static final long serialVersionUID = 1L;
/**
* Creates a new instance of <code>ServerAuthenticationException</code> without detail message.
*/
public ServerAuthenticationException() {
}
/**
* Constructs an instance of <code>ServerAuthenticationException</code> with the specified detail message.
*
* @param msg the detail message.
*/
public ServerAuthenticationException(String msg) {
super(msg);
}
}