WrongStatusCodeException.javaSource Code


/*
 * Copyright (c) 1999,2000 Bowne Internet Solutions,
 * All Rights Reserved.
 */

import java.io.IOException;

/**
 * 

This Exception is thrown when the status code is something * unexpected. Typically the user is looking for the HTTP OK status * code which is 200. */ public class WrongStatusCodeException extends IOException { public WrongStatusCodeException(String file,int statusCode) { super("Invalid Status Code downloading file " + file + ": " + statusCode); } }

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.