org.apache.lucene.gdata.server
Class GDataRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.lucene.gdata.server.GDataRequestException
All Implemented Interfaces:
Serializable

public class GDataRequestException
extends Exception

This exception wraps all exceptions occur inside the GDataRequest

Author:
Simon Willnauer
See Also:
Serialized Form

Constructor Summary
GDataRequestException(int errorCode)
          /** Constructs a new GDataRequestException
GDataRequestException(String arg0, int errorCode)
          Constructs a new GDataRequestException
GDataRequestException(String arg0, Throwable arg1, int errorCode)
          Constructs a new GDataRequestException
GDataRequestException(Throwable arg0, int errorCode)
          Constructs a new GDataRequestException
 
Method Summary
 int getErrorCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GDataRequestException

public GDataRequestException(int errorCode)
/** Constructs a new GDataRequestException

Parameters:
errorCode - - gdata request error code

GDataRequestException

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

Parameters:
arg0 - - the exception message
errorCode - - gdata request error code

GDataRequestException

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

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

GDataRequestException

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

Parameters:
arg0 - - the exception cause
errorCode - - gdata request error code
Method Detail

getErrorCode

public int getErrorCode()
Returns:
Returns the errorCode.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.