com.vmware.vcloud.sdk.exception
Class ResourceNotAddedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.vmware.vcloud.sdk.VCloudException
              extended by com.vmware.vcloud.sdk.exception.ResourceNotAddedException
All Implemented Interfaces:
Serializable

public class ResourceNotAddedException
extends VCloudException

SDK Exception thrown when the created resource(media/vapptemplate) is not added to the catalog via. catalog item.

Since:
API 5.1, SDK 5.1
Author:
Ecosystem Engineering
See Also:
Serialized Form

Constructor Summary
ResourceNotAddedException(VCloudException vcloudException, com.vmware.vcloud.api.rest.schema.ReferenceType resourceRef)
          Constructor for the ResourceNotAddedException
 
Method Summary
 com.vmware.vcloud.api.rest.schema.ReferenceType getResourceRef()
          Returns the created resource reference.
 
Methods inherited from class com.vmware.vcloud.sdk.VCloudException
getVcloudError
 
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

ResourceNotAddedException

public ResourceNotAddedException(VCloudException vcloudException,
                                 com.vmware.vcloud.api.rest.schema.ReferenceType resourceRef)
Constructor for the ResourceNotAddedException

Parameters:
vcloudException -
resourceRef -
Method Detail

getResourceRef

public com.vmware.vcloud.api.rest.schema.ReferenceType getResourceRef()
Returns the created resource reference.

Returns:
ReferenceType


Copyright © 2016. All Rights Reserved.