org.jclouds.vcloud.domain
Interface VCloudError

All Known Implementing Classes:
ErrorImpl

public interface VCloudError

Author:
Adrian Cole

Nested Class Summary
static class VCloudError.MinorCode
           
 
Method Summary
 int getMajorErrorCode()
           
 String getMessage()
           
 VCloudError.MinorCode getMinorErrorCode()
           
 String getStackTrace()
           
 String getVendorSpecificErrorCode()
           
 

Method Detail

getMessage

String getMessage()
Returns:
message describing the error

getMajorErrorCode

int getMajorErrorCode()
Returns:
matches the HTTP status code

getMinorErrorCode

@Nullable
VCloudError.MinorCode getMinorErrorCode()
Returns:
error code specific to the failed operation or null if vcloud <0.9

getVendorSpecificErrorCode

@Nullable
String getVendorSpecificErrorCode()
Returns:
optional additional information about the source of the error

getStackTrace

String getStackTrace()
Returns:
stack trace of the error, if available. This attribute is returned only when a request is made by the system administrator.


Copyright © 2009-2011 jclouds. All Rights Reserved.