org.apache.ambari.view
Class ResourceAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ambari.view.ResourceAlreadyExistsException
- All Implemented Interfaces:
- Serializable
public class ResourceAlreadyExistsException
- extends Exception
Indicates that a resource already exists.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ResourceAlreadyExistsException
public ResourceAlreadyExistsException(String resourceId)
- Constructor.
- Parameters:
resourceId - the resource id
getResourceId
public String getResourceId()
- Get the id of the non-existent resource.
- Returns:
- the resource id
Copyright © 2015 Apache Software Foundation. All rights reserved.