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); } }

Upcoming Training Events

0 AM
Visual Studio Live! San Diego
September 8-12, 2025
Live! 360 Orlando
November 16-21, 2025
Cloud & Containers Live! Orlando
November 16-21, 2025
Data Platform Live! Orlando
November 16-21, 2025
Visual Studio Live! Orlando
November 16-21, 2025