org.apache.ambari.view
Class NoSuchResourceException

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

public class NoSuchResourceException
extends Exception

Indicates that a resource doesn't exist.

See Also:
Serialized Form

Constructor Summary
NoSuchResourceException(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

NoSuchResourceException

public NoSuchResourceException(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.