org.soyatec.windowsazure.error
Class WebException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.soyatec.windowsazure.error.WebException
All Implemented Interfaces:
java.io.Serializable

public class WebException
extends java.lang.Exception

The WebException class represents the exception relative to Web communication.

See Also:
Serialized Form

Constructor Summary
WebException(org.soyatec.windowsazure.internal.constants.HttpWebResponse response)
           
 
Method Summary
 org.soyatec.windowsazure.internal.constants.HttpWebResponse getResponse()
           
 WebExceptionStatus getStatus()
           
 void setResponse(org.soyatec.windowsazure.internal.constants.HttpWebResponse response)
           
 void setStatus(WebExceptionStatus status)
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebException

public WebException(org.soyatec.windowsazure.internal.constants.HttpWebResponse response)
Method Detail

getResponse

public org.soyatec.windowsazure.internal.constants.HttpWebResponse getResponse()
Returns:
response of WebException

setResponse

public void setResponse(org.soyatec.windowsazure.internal.constants.HttpWebResponse response)
Parameters:
response - the response to set

getStatus

public WebExceptionStatus getStatus()
Returns:
status of WebException

setStatus

public void setStatus(WebExceptionStatus status)
Parameters:
status - the status