drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java
protected void examineStatusCode(int code, String message) throws WebDAVException {
        if (code >= 300 && code <= 399)
            throw new RedirectionException(code, message);
        if (code >= 400 && code <= 499)
            throw new ClientException(code, message);
        if (code >= 500 && code <= 599)
            throw new ServerException(code, message);
    }
protected void examineStatusCode(int code, String message) throws WebDAVException {
        if (code >= 300 && code <= 399)
            throw new RedirectionException(code, message);
        if (code >= 400 && code <= 499)
            throw new ClientException(code, message);
        if (code >= 500 && code <= 599)
            throw new ServerException(code, message);
    }
Check the given status code and throw a WebDAV
exception if the code indicates failure.  If the code
is success, this method does nothing.

@param code the status code to check.
@param message the status message accompanying the code.
@exception WebDAVException if the server returned an HTTP/WebDAV
error code (i.e., anything outside the 200-series codes).