org.soyatec.windowsazure.error
Class StorageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.soyatec.windowsazure.error.StorageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
StorageClientException, StorageServerException

public class StorageException
extends java.lang.RuntimeException

The base class for storage service exceptions

See Also:
Serialized Form

Constructor Summary
StorageException(java.lang.Exception innerException)
          Construct a new StorageException object with an enception.
StorageException(java.lang.String msg)
          Construct a new StorageException object with a string.
 
Method Summary
 StorageErrorCode getErrorCode()
          Get the error code of the StorageException.
 StorageExtendedErrorInformation getExtendedErrorInformation()
          Get the storage extended error information of the StorageException.
 int getStatusCode()
          Get the status code of the StorageException.
 
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

StorageException

public StorageException(java.lang.Exception innerException)
Construct a new StorageException object with an enception.

Parameters:
innerException -

StorageException

public StorageException(java.lang.String msg)
Construct a new StorageException object with a string.

Parameters:
msg -
Method Detail

getStatusCode

public int getStatusCode()
Get the status code of the StorageException.

Returns:
statusCode

getErrorCode

public StorageErrorCode getErrorCode()
Get the error code of the StorageException.

Returns:

getExtendedErrorInformation

public StorageExtendedErrorInformation getExtendedErrorInformation()
Get the storage extended error information of the StorageException.

Returns: