FileDocCategorySizeDatePackage
GDataRequestException.javaAPI DocApache Lucene 2.1.02343Wed Feb 14 10:46:06 GMT 2007org.apache.lucene.gdata.server

GDataRequestException

public class GDataRequestException extends Exception
This exception wraps all exceptions occur inside the {@link org.apache.lucene.gdata.server.GDataRequest}
author
Simon Willnauer

Fields Summary
private final int
errorCode
private static final long
serialVersionUID
Serial version ID. -> Implements Serializable
Constructors Summary
public GDataRequestException(int errorCode)
/** Constructs a new GDataRequestException

param
errorCode - gdata request error code

 
 
                            
       
        super();
        this.errorCode = errorCode;

    
public GDataRequestException(String arg0, int errorCode)
Constructs a new GDataRequestException

param
arg0 - the exception message
param
errorCode - gdata request error code

        super(arg0);
        this.errorCode = errorCode;
    
public GDataRequestException(String arg0, Throwable arg1, int errorCode)
Constructs a new GDataRequestException

param
arg0 - the exception message
param
arg1 - the exception cause
param
errorCode - gdata request error code

        super(arg0, arg1);
        this.errorCode = errorCode;
        
    
public GDataRequestException(Throwable arg0, int errorCode)
Constructs a new GDataRequestException

param
arg0 - the exception cause
param
errorCode - gdata request error code

        super(arg0);
        this.errorCode = errorCode;
    
Methods Summary
public intgetErrorCode()

return
Returns the errorCode.

        return this.errorCode;