org.apache.ambari.view
Class ResourceAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.ambari.view.ResourceAlreadyExistsException
All Implemented Interfaces:
Serializable

public class ResourceAlreadyExistsException
extends Exception

Indicates that a resource already exists.

See Also:
Serialized Form

Constructor Summary
ResourceAlreadyExistsException(String resourceId)
          Constructor.
 
Method Summary
 String getResourceId()
          Get the id of the non-existent resource.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAlreadyExistsException

public ResourceAlreadyExistsException(String resourceId)
Constructor.

Parameters:
resourceId - the resource id
Method Detail

getResourceId

public String getResourceId()
Get the id of the non-existent resource.

Returns:
the resource id


Copyright © 2015 Apache Software Foundation. All rights reserved.