com.vmware.vcloud.sdk
Class VCloudException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.vmware.vcloud.sdk.VCloudException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceNotAddedException, UnauthorizedAccessException

public class VCloudException
extends Exception

Vcloud Exception class

See Also:
Serialized Form

Constructor Summary
VCloudException(com.vmware.vcloud.api.rest.schema.ErrorType vcloudError)
          Constructor for the vcloud exception
VCloudException(String message)
          Constructor for the vcloud exception
 
Method Summary
 com.vmware.vcloud.api.rest.schema.ErrorType getVcloudError()
          Getting the actual error type vcloud object
 
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

VCloudException

public VCloudException(com.vmware.vcloud.api.rest.schema.ErrorType vcloudError)
Constructor for the vcloud exception

Parameters:
vcloudError -

VCloudException

public VCloudException(String message)
Constructor for the vcloud exception

Parameters:
message -
Method Detail

getVcloudError

public com.vmware.vcloud.api.rest.schema.ErrorType getVcloudError()
Getting the actual error type vcloud object

Returns:
ErrorType as defined in the vcloud api


Copyright © 2016. All Rights Reserved.